/* =========================================================
   Colors of Death® Services — colors-of-death-services.de
   Sister site. Inherits the Colors of Death brand system.
   Typography-first: very few images, lots of whitespace,
   strong color blocks and editorial layout.
   ========================================================= */

:root {
  /* Brand palette (user supplied) */
  --c-menu:        #9E9E9E;
  --c-white:       #FFFFFF;
  --c-dunkelblau:  #00435C;
  --c-petrol:      #609EA5;
  --c-dunkelgruen: #3C6931;
  --c-gruengelb:   #F9D500;
  --c-rostbraun:   #B56322;
  --c-nude:        #FDD492;
  --c-dunkelrot:   #741549;
  --c-beere:       #BA2F65;
  --c-altrose:     #D69C97;
  --c-hellblau:    #ADC6C8;

  --c-hero-gold:   #F8AA02;
  --c-grey-bg:     #6e6f6e;
  --c-text:        #111111;
  --c-text-soft:   #2c2c2c;
  --c-line:        rgba(0,0,0,.12);

  --f-sans:    "Source Sans 3", "Source Sans Pro", "Alef", system-ui, sans-serif;
  --f-serif:   "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --f-script:  "Parisienne", "Source Serif Pro", cursive;
  --f-ui:      "Source Sans 3", "Montserrat", var(--f-sans);

  --container:  1240px;
  --container-narrow: 880px;
  --container-wide:   1400px;
  --header-h:   96px;
  --ease:       cubic-bezier(.2,.7,.2,1);
  --ease-slow:  cubic-bezier(.16,.84,.3,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* `overflow-x: clip` prevents horizontal overflow from off-screen reveal
     animations without creating a scroll container (so sticky header still works).
     `hidden` is a fallback for older browsers. */
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
button { font: inherit; cursor: pointer; background: transparent; border: 0; color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }
em { color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #000; color: #fff; padding: .6em 1em; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

.container       { width: min(100% - 2rem, var(--container));        margin-inline: auto; }
.container.narrow{ max-width: var(--container-narrow); }
.container.wide  { max-width: var(--container-wide); }

.text-center { text-align: center; }
.light       { color: var(--c-white) !important; }
.muted       { color: var(--c-text-soft); }

/* ---------- Typography ---------- */
.serif-italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.script {
  font-family: var(--f-script);
  font-weight: 400;
}
.display-bold {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -.005em;
  margin: 0 0 .8em;
  color: var(--c-text);
}
.display-italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  margin: 0 0 1.4em;
}
.eyebrow {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-rostbraun);
  margin: 0 0 1.2em;
  display: inline-block;
}
.eyebrow-italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin: 0 0 .4em;
  color: var(--c-text);
}
.body-md  { font-size: 1.05rem; margin: 0 0 1em; }
.body-lg  { font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.55; margin: 0 0 1em; }
.body-xl  { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.5; margin: 0 0 1em; }
.strong   { font-weight: 600; }

.has-rule {
  position: relative;
  margin-bottom: 2.2rem;
}
.has-rule em {
  font-style: italic;
  font-weight: 700;
}
.has-rule::after {
  content: "";
  display: block;
  height: 1px;
  background: currentColor;
  opacity: .35;
  margin-top: 1.2rem;
}
.italic-blue { color: var(--c-dunkelblau); }
.italic-beere{ color: var(--c-beere); }
.italic-rost { color: var(--c-rostbraun); }

/* ---------- Sections ---------- */
.section          { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.section-tight    { padding: clamp(2.5rem, 5vw, 4rem) 0; position: relative; }
.section-white    { --c-bg: var(--c-white);       background: var(--c-white);    color: var(--c-text); }
.section-yellow   { --c-bg: var(--c-gruengelb);   background: var(--c-gruengelb);color: var(--c-white); }
.section-grey     { --c-bg: var(--c-grey-bg);     background: var(--c-grey-bg);  color: var(--c-white); }
.section-olive    { --c-bg: var(--c-dunkelgruen); background: var(--c-dunkelgruen); color: var(--c-white); }
.section-hellblau { --c-bg: var(--c-hellblau);    background: var(--c-hellblau); color: var(--c-text); overflow: hidden; }
.section-nude     { --c-bg: var(--c-nude);        background: var(--c-nude);     color: var(--c-text); }
.section-altrose  { --c-bg: var(--c-altrose);     background: var(--c-altrose);  color: var(--c-white); }
.section-petrol   { --c-bg: var(--c-petrol);      background: var(--c-petrol);   color: var(--c-white); }
.section-blau     { --c-bg: var(--c-dunkelblau);  background: var(--c-dunkelblau);color: var(--c-white); }
.section-dunkelrot{ --c-bg: var(--c-dunkelrot);   background: var(--c-dunkelrot);color: var(--c-white); }
.section-black    { --c-bg: #000;                 background: #000;              color: var(--c-white); }

.section-yellow .display-italic,
.section-yellow .display-bold { color: var(--c-white); }
.section-yellow .eyebrow { color: var(--c-dunkelblau); }
.section-olive .eyebrow,
.section-petrol .eyebrow,
.section-blau .eyebrow,
.section-dunkelrot .eyebrow,
.section-altrose .eyebrow { color: var(--c-gruengelb); }
.section-altrose .eyebrow { color: var(--c-dunkelrot); }

/* ---------- Watermark on colored sections (cod_logo_lang.png) ---------- */
/* Pseudo-element places the logo image, color overlay at 0.85 opacity sits on top */
.section-watermark { position: relative; isolation: isolate; }
.section-watermark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../../images/cod_logo_lang.png');
  background-repeat: no-repeat;
  background-position: right -40px center;
  background-size: auto 70%;
  z-index: -2;
  pointer-events: none;
}
.section-watermark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-bg);
  opacity: .85;
  z-index: -1;
  pointer-events: none;
}
/* Dark sections need a slightly different feel — image works fine over color at .85 */
.section-watermark.section-black::before,
.section-watermark.section-olive::before,
.section-watermark.section-blau::before,
.section-watermark.section-dunkelrot::before {
  background-image: url('../../images/cod_logo_lang.png');
  filter: brightness(0) invert(1); /* logo becomes white */
  opacity: .35;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 1em 1.7em;
  border-radius: 0;
  border: 2px solid transparent;
  background: transparent;
  color: var(--c-white);
  text-align: center;
  line-height: 1.2;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm  { padding: .7em 1.2em; font-size: .8rem; line-height: 1.15; letter-spacing: .06em; }
.btn-lg  { padding: 1.15em 2.4em; font-size: .95rem; }

.btn-yellow       { background: var(--c-gruengelb); color: var(--c-white);  border-color: var(--c-gruengelb); }
.btn-yellow:hover { background: transparent; color: var(--c-gruengelb); }

.btn-olive        { background: var(--c-dunkelgruen); color: var(--c-white); border-color: var(--c-dunkelgruen); }
.btn-olive:hover  { background: transparent; color: var(--c-dunkelgruen); }

.btn-blau         { background: var(--c-dunkelblau); color: var(--c-white); border-color: var(--c-dunkelblau); }
.btn-blau:hover   { background: transparent; color: var(--c-dunkelblau); }

.btn-outline-light       { background: transparent; color: var(--c-white); border-color: var(--c-white); }
.btn-outline-light:hover { background: var(--c-white); color: var(--c-text); }

.btn-outline-dark        { background: transparent; color: var(--c-text); border-color: var(--c-text); }
.btn-outline-dark:hover  { background: var(--c-text); color: var(--c-white); }

.btn-outline-olive       { background: transparent; color: var(--c-dunkelgruen); border-color: var(--c-dunkelgruen); }
.btn-outline-olive:hover { background: var(--c-dunkelgruen); color: var(--c-white); }

.btn-outline-blau        { background: transparent; color: var(--c-dunkelblau); border-color: var(--c-dunkelblau); }
.btn-outline-blau:hover  { background: var(--c-dunkelblau); color: var(--c-white); }

.btn-ghost        { background: transparent; color: var(--c-text); border-color: var(--c-text); }
.btn-ghost:hover  { background: var(--c-text); color: var(--c-white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin: 1.4rem 0 0;
}
.btn-row.center { justify-content: center; }

/* ---------- Header (simplified: logo + hamburger only) ---------- */
.site-header {
  position: sticky;
  top: 0;
  /* Above the nav-modal (z: 90) so the hamburger stays visible and can morph into the close X. */
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid #f0f0f0;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
/* When the modal is open: hide the white header background so the dark backdrop shows through.
   The logo + hamburger remain visible (logo gets inverted to white below). */
body.nav-open .site-header {
  background: transparent;
  border-bottom-color: transparent;
}
body.nav-open .brand img {
  filter: brightness(0) invert(1);
  transition: filter .35s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
  padding: .8rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img {
  height: 58px;
  width: auto;
}

/* Hamburger — the parent site's 3-rect SVG, with the bottom bar shifted right.
   Morphs into a close-X when aria-expanded="true" (single icon toggles open/close). */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem;
  margin: -.5rem;
  color: var(--c-text);
  transition: color .2s var(--ease);
  position: relative;
  z-index: 1;
}
.nav-toggle:hover { color: var(--c-rostbraun); }
.nav-toggle svg {
  width: 40px;
  height: 26px;
  overflow: visible; /* allow the morphed X to extend past the SVG box */
}
.nav-toggle svg rect {
  fill: currentColor;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .7s var(--ease-slow), opacity .4s var(--ease-slow);
}

/* Morph hamburger → X */
.nav-toggle[aria-expanded="true"] .hb-top {
  /* full-width top bar rotates 45° and drops to viewBox center (y: 2 → 15) */
  transform: translate(0, 13px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hb-mid {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .hb-bot {
  /* half-width right bar scales to full width (center stays at x=36),
     then rotates -45°, then moves to viewBox center (-12, -13). */
  transform: translate(-12px, -13px) rotate(-45deg) scaleX(2);
}

/* ---------- Nav modal — full-page overlay (deco left + panel right) ---------- */
/* Backdrop element kept for backward-compat but the modal now covers the whole viewport itself. */
.nav-backdrop { display: none; }

.nav-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  pointer-events: none;
  overflow: hidden; /* so the translated halves don't leak past the viewport */
}
.nav-modal.is-open { pointer-events: auto; }
/* Used briefly after a close completes to snap the halves back to their
   initial offscreen positions without animating through the viewport. */
.nav-modal.no-transition .nav-modal__deco,
.nav-modal.no-transition .nav-modal__panel {
  transition: none !important;
}

/* Left half — same pattern as .section-watermark on colored sections:
   the logo image sits as a background, and a green overlay at 0.85 opacity
   tints it so the whole logo is visible but recessed. */
.nav-modal__deco {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--c-dunkelgruen);
  background-image: url('../../images/cod_logo_lang.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 72% auto;
  /* Slides DOWN from above on open (and back up on close). */
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 1.4s var(--ease-slow), opacity .9s var(--ease-slow);
}
.nav-modal.is-open .nav-modal__deco { opacity: 1; transform: translateY(0); }
/* Close: deco exits DOWNWARD (vice versa of its open direction) */
.nav-modal.is-closing .nav-modal__deco { opacity: 0; transform: translateY(100%); }
.nav-modal__deco::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-dunkelgruen);
  opacity: 0.85;
  pointer-events: none;
  z-index: -1;
}
/* Legacy <img> inside the deco — no longer needed since we use background-image. */
.nav-modal__deco img { display: none; }

/* Right half — the menu panel */
.nav-modal__panel {
  flex: 1 1 50%;
  background: var(--c-white);
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  overflow-y: auto;
  /* Slides UP from below on open (and back down on close). */
  opacity: 0;
  transform: translateY(100%);
  transition: transform 1.4s var(--ease-slow), opacity .9s var(--ease-slow);
}
.nav-modal.is-open .nav-modal__panel { opacity: 1; transform: translateY(0); }
/* Close: panel exits UPWARD (vice versa of its open direction) */
.nav-modal.is-closing .nav-modal__panel { opacity: 0; transform: translateY(-100%); }

/* The modal no longer needs its own close button — the header hamburger morphs to X. */
.nav-modal__close { display: none; }

.nav-modal__nav { width: 100%; }
.nav-modal__nav > ul {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin: 0;
}
.nav-modal__nav > ul > li > a {
  display: block;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--c-dunkelgruen);
  padding: .55em 0;
  border-bottom: 1px solid var(--c-line);
  opacity: 0;
  transform: translateX(32px);
  transition: color .25s var(--ease), opacity .9s var(--ease-slow), transform .9s var(--ease-slow);
}
.nav-modal__nav > ul > li > a:hover { color: var(--c-rostbraun); }
.nav-modal__nav > ul > li > a.is-active { color: var(--c-beere); }
.nav-modal.is-open .nav-modal__nav > ul > li > a {
  opacity: 1;
  transform: translateX(0);
}
.nav-modal__nav > ul > li:nth-child(1) > a { transition-delay: .35s; }
.nav-modal__nav > ul > li:nth-child(2) > a { transition-delay: .47s; }
.nav-modal__nav > ul > li:nth-child(3) > a { transition-delay: .59s; }
.nav-modal__nav > ul > li:nth-child(4) > a { transition-delay: .71s; }
.nav-modal__nav > ul > li:nth-child(5) > a { transition-delay: .83s; }
.nav-modal__nav > ul > li:nth-child(6) > a { transition-delay: .95s; }
.nav-modal__nav > ul > li:nth-child(7) > a { transition-delay: 1.07s; }

.nav-modal__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .9s var(--ease-slow) 1.2s, transform .9s var(--ease-slow) 1.2s;
}
.nav-modal.is-open .nav-modal__cta { opacity: 1; transform: translateX(0); }

.nav-modal__footer {
  margin-top: 2.5rem;
  font-family: var(--f-ui);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  opacity: 0;
  transition: opacity .9s var(--ease-slow) 1.35s;
}
.nav-modal.is-open .nav-modal__footer { opacity: 1; }
.nav-modal__footer a { color: var(--c-rostbraun); border-bottom: 1px solid currentColor; padding-bottom: .1em; }

/* ---------- Hero ---------- */
.hero {
  background: #000;
  color: var(--c-white);
  padding: clamp(5rem, 12vw, 9rem) 0;
  min-height: calc(80vh - var(--header-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(248,170,2,.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.hero.section-watermark::before { background-position: right -160px center; opacity: .9; }
.hero.section-watermark::after { background: #000; opacity: .85; }
.hero-inner {
  max-width: 1000px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--c-gruengelb);
  margin: 0 0 1.6rem;
}
.hero-eyebrow .reg { font-size: .7em; vertical-align: super; margin-left: .15em; }

.hero-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.005em;
  margin: 0 0 2rem;
}
.hero-title .line { display: block; }
.hero-title .gold   { color: var(--c-hero-gold); }
.hero-title .yellow { color: var(--c-gruengelb); }
.hero-title em      { font-style: italic; color: var(--c-altrose); }

.hero-sub {
  max-width: 720px;
  font-family: var(--f-sans);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
  margin: 0 0 1rem;
}
.hero-sub strong { color: var(--c-white); font-weight: 500; }

.hero-meta {
  margin-top: 2rem;
  font-family: var(--f-ui);
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.hero-meta span + span::before { content: "·"; margin: 0 .9em; color: var(--c-gruengelb); }

/* ---------- Page header (subpages, no full hero) ---------- */
.page-header {
  background: var(--c-dunkelblau);
  --c-bg: var(--c-dunkelblau);
  color: var(--c-white);
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 50% -8% auto auto;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(249,213,0,.14) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.page-header .container { position: relative; z-index: 1; }
.page-header .crumb {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--c-gruengelb);
  margin: 0 0 1.2rem;
}
.page-header h1 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
  max-width: 900px;
}
.page-header h1 em { font-style: italic; color: var(--c-altrose); }
.page-header .lead {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.4;
  max-width: 760px;
  color: rgba(255,255,255,.92);
  margin: 0;
}
.page-header.section-watermark::before { background-position: right -120px center; opacity: .9; }
.page-header.section-watermark::after { background: var(--c-dunkelblau); opacity: .85; }

/* ---------- Three column grids ---------- */
.three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.4rem);
}
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

/* ---------- Way cards (homepage 3 paths) ---------- */
.way-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid var(--c-line);
  border-bottom: 0;
}
.way-card {
  padding: 2.2rem 1.8rem 2rem;
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  position: relative;
  transition: background .3s var(--ease);
}
.way-card:last-child { border-right: 0; }
.way-card:hover { background: #fafafa; }
.way-card .num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--c-rostbraun);
  line-height: 1;
  margin: 0 0 1rem;
}
.way-card h3 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0 0 .9rem;
}
.way-card p {
  margin: 0 0 1.4rem;
  color: var(--c-text-soft);
  font-size: 1rem;
}
.way-card .more {
  margin-top: auto;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-dunkelgruen);
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  padding-bottom: .1em;
}
.way-card .more:hover { color: var(--c-rostbraun); }

/* ---------- Plain card list (offerings or sub-items) ---------- */
.item-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--c-line);
}
.item-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 2rem 0;
  border-bottom: 1px solid var(--c-line);
  align-items: start;
}
.item-row h3 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.2;
}
.item-row p { margin: 0 0 .8em; color: var(--c-text-soft); }
.item-row p:last-child { margin-bottom: 0; }
.section-olive .item-list,
.section-blau .item-list,
.section-petrol .item-list,
.section-dunkelrot .item-list { border-top-color: rgba(255,255,255,.25); }
.section-olive .item-row,
.section-blau .item-row,
.section-petrol .item-row,
.section-dunkelrot .item-row { border-bottom-color: rgba(255,255,255,.25); }
.section-olive .item-row p,
.section-blau .item-row p,
.section-petrol .item-row p,
.section-dunkelrot .item-row p { color: rgba(255,255,255,.85); }

/* ---------- Steps (ablauf) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 2rem;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--c-line);
  align-items: start;
}
.step:first-child { border-top: 1px solid var(--c-line); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  color: var(--c-rostbraun);
  line-height: 1;
}
.step h3 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 .35em;
}
.step p { margin: 0; color: var(--c-text-soft); }
.section-olive .step,
.section-blau .step,
.section-petrol .step,
.section-dunkelrot .step { border-color: rgba(255,255,255,.25); }
.section-olive .step:first-child,
.section-blau .step:first-child,
.section-petrol .step:first-child,
.section-dunkelrot .step:first-child { border-top-color: rgba(255,255,255,.25); }
.section-olive .step p,
.section-blau .step p,
.section-petrol .step p,
.section-dunkelrot .step p { color: rgba(255,255,255,.85); }

/* ---------- Big quote ---------- */
.big-quote {
  margin: 0;
  padding: 0;
}
.big-quote p {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.35;
  color: var(--c-text);
  margin: 0 0 1.2rem;
  position: relative;
  padding-left: 2.2rem;
}
.big-quote p::before {
  content: "„";
  font-size: 3rem;
  line-height: 0;
  position: absolute;
  left: 0;
  top: .5em;
  color: var(--c-rostbraun);
}
.big-quote cite {
  font-family: var(--f-ui);
  font-style: normal;
  font-size: .9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-rostbraun);
  font-weight: 600;
}

/* ---------- Two-voice motif (zwei Stimmen) ---------- */
.two-voices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid var(--c-line);
  background: var(--c-white);
}
.voice {
  padding: 2.2rem 1.8rem;
  position: relative;
}
.voice + .voice {
  border-left: 1px solid var(--c-line);
}
.voice .who {
  font-family: var(--f-script);
  font-size: 1.8rem;
  line-height: 1;
  margin: 0 0 1rem;
  color: var(--c-rostbraun);
}
.voice.alt .who { color: var(--c-dunkelblau); }
.voice p {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 0;
  color: var(--c-text);
}

/* ---------- Big type "marquee" (for kolleg:innen page) ---------- */
.type-banner {
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  padding: 1.4rem 0;
  margin: 2rem 0;
  overflow: hidden;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.1;
  white-space: nowrap;
}
.type-banner .row {
  display: inline-block;
  padding-right: 2rem;
}
.type-banner .row + .row { color: var(--c-gruengelb); }

.word-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.word-grid li {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  padding: 1.2rem 1rem;
  border: 1px solid currentColor;
  text-align: center;
}

/* ---------- Mini layout swatches ---------- */
.mini-layouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}
.mini {
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  min-height: 220px;
}
.mini--rost   { background: var(--c-rostbraun);  color: var(--c-white); }
.mini--blau   { background: var(--c-dunkelblau); color: var(--c-white); }
.mini--altrose{ background: var(--c-altrose);   color: var(--c-white); }
.mini--gelb   { background: var(--c-gruengelb); color: var(--c-white); }
.mini--olive  { background: var(--c-dunkelgruen); color: var(--c-white); }
.mini--nude   { background: var(--c-nude);   color: var(--c-text); }

.mini .tiny {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .8;
}
.mini .claim {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.1;
  margin: 0;
}
.mini .claim em { font-style: italic; }
.mini .meta {
  margin-top: auto;
  font-family: var(--f-ui);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .8;
}

/* ---------- Founders ---------- */
.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: 2.5rem 0;
  border-top: 1px solid var(--c-line);
}
.founder:last-of-type { border-bottom: 1px solid var(--c-line); }
.founder .portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--c-hellblau);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.founder .portrait img {
  width: 100%; height: 100%; object-fit: cover;
}
.founder .portrait .initial {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 7rem;
  color: var(--c-dunkelblau);
  line-height: 1;
}
.founder h3 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin: 0 0 .25em;
  line-height: 1.1;
}
.founder .role {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.1rem;
  margin: 0 0 1.2rem;
  color: var(--c-rostbraun);
}

/* ---------- Chevron list ---------- */
.chevron-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.chevron-list li {
  position: relative;
  padding: .35em 0 .35em 2rem;
  margin-bottom: .4em;
  font-size: 1.05rem;
}
.chevron-list li::before {
  content: "»";
  position: absolute;
  left: 0;
  top: .12em;
  color: var(--c-rostbraun);
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
}

/* ---------- Bullets ---------- */
.bullets { list-style: disc; padding-left: 1.4em; margin: .6em 0 1.2em; }
.bullets li { margin: 0 0 .35em; }

/* ---------- Pull / callout ---------- */
.pull {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  padding: 0;
  margin: 0 0 1.4rem;
  border-left: 3px solid var(--c-rostbraun);
  padding-left: 1.4rem;
  color: inherit;
}

/* ---------- Image block ---------- */
.real-image {
  width: 100%;
  background: var(--c-hellblau);
}
.real-image img { width: 100%; height: auto; display: block; }

/* ---------- Contact card grid ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.contact-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 2.2rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.contact-card:hover {
  border-color: var(--c-rostbraun);
  transform: translateY(-3px);
}
.contact-card .ic {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--c-rostbraun);
}
.contact-card h3 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
}
.contact-card .detail {
  font-family: var(--f-ui);
  font-weight: 600;
  color: var(--c-dunkelblau);
  margin: 0;
  word-break: break-word;
}
.contact-card p:last-of-type { margin: 0; color: var(--c-text-soft); font-size: .95rem; }

/* ---------- Footer (now WHITE) ---------- */
.site-footer {
  background: var(--c-white);
  color: var(--c-text);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--c-line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--c-line);
}
.footer-brand img { height: 60px; margin-bottom: 1rem; }
.footer-brand p {
  font-size: .9rem;
  color: var(--c-text-soft);
  max-width: 320px;
  margin: 0 0 .6em;
}
.footer-brand .reg {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--c-rostbraun);
}

.footer-col h4 {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 1em;
  color: var(--c-rostbraun);
}
.footer-col ul li { margin: 0 0 .45em; }
.footer-col ul li a {
  font-family: var(--f-ui);
  font-size: .92rem;
  color: var(--c-text-soft);
}
.footer-col ul li a:hover { color: var(--c-dunkelgruen); }
.footer-col p {
  font-family: var(--f-ui);
  font-size: .92rem;
  color: var(--c-text-soft);
  margin: 0 0 .4em;
}
.footer-col a:hover { color: var(--c-dunkelgruen); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: .82rem;
  color: var(--c-text-soft);
}
.footer-bottom a { color: var(--c-text-soft); text-decoration: underline; text-decoration-color: rgba(0,0,0,.25); }
.footer-bottom a:hover { color: var(--c-dunkelgruen); }
.footer-legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }

.license-note {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: .92rem;
  color: var(--c-text-soft);
  max-width: 720px;
  margin: 0 0 1rem;
}

/* ---------- Scroll-reveal animations (horizontal only — alternates left/right) ---------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 1.1s var(--ease-slow), transform 1.3s var(--ease-slow);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translate3d(-100px, 0, 0); }
[data-reveal="right"] { transform: translate3d(100px, 0, 0); }
[data-reveal="up"]    { transform: translate3d(0, 40px, 0); }  /* legacy, JS rewrites to left/right */
[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* Stagger inside groups via data-reveal-delay */
[data-reveal][data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .24s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .36s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: .48s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: .60s; }
[data-reveal][data-reveal-delay="6"] { transition-delay: .72s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .two-cols { grid-template-columns: 1fr; }
  .three-cols { grid-template-columns: 1fr; gap: 2rem; }
  .way-cards { grid-template-columns: 1fr; border-right: 0; border-left: 0; }
  .way-card { border-right: 0; }
  .item-row { grid-template-columns: 1fr; gap: .6rem; padding: 1.6rem 0; }
  .step { grid-template-columns: 64px 1fr; gap: 1rem; }
  .step::before { font-size: 1.6rem; }
  .two-voices { grid-template-columns: 1fr; }
  .voice + .voice { border-left: 0; border-top: 1px solid var(--c-line); }
  .mini-layouts { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 140px 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  /* Mobile: only the right panel shows — deco is hidden, panel goes full-width. */
  .nav-modal__deco { display: none; }
  .nav-modal__panel { flex: 1 1 100%; padding: 5rem 1.6rem 2rem; align-items: flex-start; }
  /* On mobile the panel sits over the logo (white-on-white would be invisible) — hide it. */
  body.nav-open .brand { visibility: hidden; }
  body.nav-open .site-header { background: var(--c-white); border-bottom-color: var(--c-line); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .mini-layouts { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder .portrait { max-width: 220px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-watermark::before { background-position: right -180px center; background-size: auto 60%; }
  /* Shorter reveal travel on small viewports — keeps motion noticeable
     without risking horizontal overflow on tighter containers. */
  [data-reveal="left"]  { transform: translate3d(-40px, 0, 0); }
  [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
