/* ==========================================================================
   WOLFAILAND – Gestaltung
   Alle Farben, Schriften und Abstände stehen oben unter :root.
   Wer etwas ändern will, ändert es dort. Konzept und Regeln: DESIGN.md
   ========================================================================== */

@layer basis, bausteine, bereiche, werk, hilfen;

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../assets/fonts/literata-italic-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Farben: aus dem Logo gemischt */
  --birke:   #f3f5ec;   /* Seitengrund: helles Flechtengrün */
  --papier:  #fbfcf8;   /* zweite Ebene */
  --tanne:   #15281b;   /* Schrift und dunkle Flächen */
  --moos:    #3f5217;   /* Logo-Grün */
  --glut:    #e2680f;   /* Logo-Orange: nur für Handlung */
  --glut-tief: #b74f08;
  --flechte: #b9c7a0;   /* helles Fellgrün aus dem Logo */
  --fell:    #efd9b8;   /* helles Fell */
  --auge:    #1f5fae;   /* das blaue Wolfsauge: nur Fokus */
  --stein:   #55625a;   /* Nebentext */
  --linie:   rgb(21 40 27 / .16);

  /* Schrift */
  --schrift: "Archivo", "Segoe UI", system-ui, sans-serif;
  --stimme:  "Literata", Georgia, "Times New Roman", serif;   /* die Stimme der Kundin, des Kunden */
  --g-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --g-1: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --g-2: clamp(1.4rem, 1.15rem + 1.1vw, 2rem);
  --g-3: clamp(1.9rem, 1.3rem + 2.6vw, 3.3rem);
  --g-4: clamp(2.3rem, 1.1rem + 5.2vw, 5.5rem);

  /* Raum */
  --r-1: .5rem; --r-2: 1rem; --r-3: 1.5rem; --r-4: 2.5rem; --r-5: 4rem;
  --r-6: clamp(4.5rem, 3rem + 7vw, 9rem);
  --rand: clamp(1.1rem, .4rem + 3vw, 3rem);
  --breite: 82.5rem;
  --ecke: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);   /* die schräge Ecke: einziges Formmotiv */

  /* Bewegung: eine Kurve, drei Dauern */
  --kurve: cubic-bezier(.2, .7, .1, 1);
  --schnell: 140ms; --normal: 380ms; --langsam: 900ms;
}

/* ========================================================================== */
@layer basis {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--birke);
    color: var(--tanne);
    font: 400 var(--g-0)/1.55 var(--schrift);
    font-stretch: 100%;
    accent-color: var(--glut);
    caret-color: var(--glut-tief);
    scrollbar-color: var(--moos) var(--birke);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }
  img, video, iframe { display: block; max-width: 100%; }
  img { height: auto; }
  h1, h2, h3 { margin: 0; text-wrap: balance; font-stretch: 114%; line-height: 1.04; letter-spacing: -.018em; }
  h1 { font-size: var(--g-4); font-weight: 780; line-height: .98; letter-spacing: -.028em; }
  h2 { font-size: var(--g-3); font-weight: 740; }
  h3 { font-size: var(--g-2); font-weight: 700; }
  p { margin: 0; text-wrap: pretty; }
  a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
  a:hover { text-decoration-color: var(--glut); }
  button, select, textarea, input { font: inherit; color: inherit; }
  ul, ol, dl, dd { margin: 0; padding: 0; }
  ul, ol { list-style: none; }
  table { border-collapse: collapse; width: 100%; }
  ::selection { background: var(--glut); color: var(--tanne); }
  :focus-visible { outline: 3px solid var(--auge); outline-offset: 3px; }
  [hidden] { display: none !important; }

  /* Zweisprachigkeit: beide Fassungen stehen im HTML, CSS zeigt die passende */
  html:lang(de) [data-l="en"], html:lang(en) [data-l="de"] { display: none !important; }
}

/* ========================================================================== */
@layer bausteine {
  .rahmen { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }

  .sprung { position: absolute; left: var(--rand); top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--tanne); color: var(--birke); }
  .sprung:focus { top: .6rem; }

  /* Knopf: Orange mit dunkler Schrift, eine schräge Ecke wie das Wolfsohr */
  .knopf {
    --k-ecke: .85rem;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 3.25rem; padding: .8rem 1.5rem .8rem 1.35rem;
    border: 0; cursor: pointer; text-decoration: none; text-align: center;
    background: var(--glut); color: var(--tanne);
    font-weight: 680; font-stretch: 108%; line-height: 1.15;
    clip-path: polygon(0 0, calc(100% - var(--k-ecke)) 0, 100% var(--k-ecke), 100% 100%, 0 100%);
    transition: background var(--schnell) linear, transform var(--schnell) var(--kurve);
  }
  .knopf:hover { background: #f07a1f; }
  .knopf:active { transform: translateY(2px); }
  .knopf:focus-visible { clip-path: none; }
  .knopf-klein { min-height: 2.6rem; padding: .5rem 1.05rem .5rem .95rem; font-size: .95rem; --k-ecke: .65rem; }
  .knopf-hell { background: var(--birke); }
  .knopf-hell:hover { background: #fff; }
  .knopf-linie { background: var(--tanne); color: var(--birke); }
  .knopf-linie:hover { background: var(--moos); }

  .klein { font-size: .9rem; color: var(--stein); }
  .hinweis { margin-top: var(--r-3); padding: var(--r-2); border-left: 4px solid var(--glut); background: var(--papier); }
  .unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  .abschnitt { padding-block: var(--r-6); }
  .abschnitt-kopf { display: grid; gap: var(--r-3); margin-bottom: var(--r-5); max-width: 62rem; }
  .abschnitt-kopf p { font-size: var(--g-1); max-width: 46rem; color: var(--stein); }

  /* ---------- Kopf ---------- */
  .kopf { position: sticky; top: 0; z-index: 40; background: var(--birke); border-bottom: 1px solid var(--linie); }
  .kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: var(--r-3); min-height: 4.5rem; }
  .logo img { width: clamp(9.5rem, 7rem + 8vw, 13.5rem); }
  .hauptnav { display: flex; align-items: center; gap: clamp(.9rem, .2rem + 1.4vw, 2rem); font-size: .98rem; font-weight: 560; }
  .hauptnav a:not(.knopf) { text-decoration: none; padding-block: .4rem; background: linear-gradient(var(--glut), var(--glut)) 0 100% / 0 2px no-repeat; transition: background-size var(--normal) var(--kurve); }
  .hauptnav a:not(.knopf):hover { background-size: 100% 2px; }
  .sprache { border: 1px solid var(--linie); background: none; padding: .35rem .7rem; cursor: pointer; font-size: .9rem; }
  .sprache:hover { border-color: var(--tanne); }
  .menue-knopf { display: none; border: 1px solid var(--tanne); background: none; padding: .55rem 1rem; font-weight: 650; cursor: pointer; }

  @media (max-width: 62rem) {
    .menue-knopf { display: block; }
    .hauptnav {
      position: absolute; inset: 100% 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
      padding: var(--r-2) var(--rand) var(--r-3); background: var(--birke); border-bottom: 1px solid var(--linie);
      font-size: 1.15rem;
    }
    .hauptnav.offen { display: flex; }
    .hauptnav a:not(.knopf) { padding-block: .85rem; border-bottom: 1px solid var(--linie); }
    .sprache { align-self: flex-start; margin-block: var(--r-2); }
  }
}

/* ========================================================================== */
@layer bereiche {

  /* ---------- 1 · Auftakt ---------- */
  .auftakt { padding-block: clamp(1.6rem, .8rem + 2.4vw, 3rem) 0; }
  .auftakt > .rahmen { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--r-5); align-items: end; }
  .auftakt h1 { max-width: 16ch; font-size: clamp(2.3rem, 1.1rem + 4.6vw, 4.75rem); }
  .auftakt-zeile { display: grid; gap: var(--r-3); padding-bottom: .5rem; }
  .auftakt noscript { grid-column: 1 / -1; }
  .vorspann { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 44rem; }
  .auftakt-aktion { display: grid; gap: .6rem; justify-items: start; }

  /* Die Wunsch-Bühne: reicht von Rand zu Rand. Links der Wunsch in großer Schrift,
     rechts, hinter einer schrägen Kante, das Werk, das daraus wurde. */
  .buehne {
    display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
    margin-top: clamp(1.6rem, 1rem + 2.4vw, 3rem);
    padding-left: max(var(--rand), calc((100% - var(--breite)) / 2));
    background: var(--tanne); color: var(--birke);
    min-height: clamp(31rem, 20rem + 27vw, 45rem);
  }
  .buehne-wuensche { padding: clamp(2rem, 1rem + 3vw, 4rem) var(--r-3) clamp(1.6rem, 1rem + 2vw, 2.75rem) 0; display: flex; flex-direction: column; gap: var(--r-3); position: relative; z-index: 2; }
  .buehne-titel { font-weight: 640; font-stretch: 112%; color: var(--flechte); }
  .buehne-wunsch {
    font: italic 400 clamp(1.7rem, .9rem + 2.5vw, 3.15rem)/1.14 var(--stimme);
    letter-spacing: -.01em; text-wrap: balance; color: #fff;
    min-height: 3.42em;                      /* Platz für drei Zeilen: nichts springt beim Wechsel */
    margin-right: -3rem;                     /* der Wunsch darf ein Stück ins Bild hineinragen */
  }
  .buehne-wunsch.neu { animation: wunsch-neu var(--langsam) var(--kurve) both; }
  @keyframes wunsch-neu { from { clip-path: inset(0 100% 0 0); opacity: .2; } to { clip-path: inset(0 -5% 0 0); opacity: 1; } }
  .buehne-schild { display: grid; gap: .2rem; justify-items: start; padding-left: 1.1rem; border-left: 4px solid var(--glut); }
  .buehne-daraus { font-size: .9rem; color: var(--flechte); }
  .buehne-name { font-size: var(--g-1); font-weight: 720; font-stretch: 112%; line-height: 1.15; }
  .buehne-art { font-size: .95rem; color: rgb(243 245 236 / .78); margin-bottom: .8rem; }

  .buehne-wahl { margin-top: auto; padding-top: var(--r-2); display: grid; gap: .3rem; font-size: .95rem; color: var(--flechte); }
  .wunschliste { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
  .wunsch {
    position: relative; cursor: pointer; background: none; border: 0; padding: .7rem 0 .6rem;
    font-weight: 560; color: rgb(243 245 236 / .7);
    transition: color var(--normal) linear;
  }
  .wunsch:hover, .wunsch[aria-selected="true"] { color: #fff; }
  .wunsch::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgb(243 245 236 / .22); }
  /* Laufbalken: zeigt, wann der nächste Wunsch kommt */
  .wunsch::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--glut); transform: scaleX(0); transform-origin: 0 50%; }
  .wunsch[aria-selected="true"]::after { transform: scaleX(1); }
  .buehne.laeuft .wunsch[aria-selected="true"]::after { animation: laufzeit 7s linear both; }
  .buehne-wuensche:hover .wunsch::after, .buehne-wuensche:focus-within .wunsch::after { animation-play-state: paused; }
  @keyframes laufzeit { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .buehne :focus-visible { outline-color: var(--fell); }

  .buehne-werk { position: relative; background: #0c1a11; overflow: hidden; clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); }
  .buehne-bilder, .buehne-bilder > * { position: absolute; inset: 0; width: 100%; height: 100%; }
  .buehne-bilder > * { object-fit: cover; opacity: 0; }
  .buehne-bilder > .davor { opacity: 1; z-index: 1; }
  .buehne-bilder > .aktiv { opacity: 1; z-index: 2; animation: wisch var(--langsam) var(--kurve) both; }
  /* Standbilder atmen: ganz langsame Fahrt, damit die Bühne nie stillsteht */
  .buehne-bilder > img.aktiv { animation: wisch var(--langsam) var(--kurve) both, fahrt 9s linear both; }
  /* der schräge Schnitt: das Werk schiebt sich über das vorige */
  @keyframes wisch {
    from { clip-path: polygon(0 0, 0 0, -22% 100%, 0 100%); }
    to   { clip-path: polygon(0 0, 122% 0, 100% 100%, 0 100%); }
  }
  @keyframes fahrt { from { transform: scale(1.01); } to { transform: scale(1.08); } }

  @media (max-width: 62rem) {
    .auftakt > .rahmen { grid-template-columns: minmax(0, 1fr); }
    .auftakt-zeile { margin-top: var(--r-3); }
    .buehne { grid-template-columns: minmax(0, 1fr); padding-left: 0; min-height: 0; }
    .buehne-wuensche { padding: var(--r-4) var(--rand) var(--r-3); }
    .buehne-wunsch { margin-right: 0; min-height: 3.42em; font-size: clamp(1.55rem, 1rem + 2.6vw, 2.4rem); }
    .buehne-wahl { margin-top: var(--r-1); }
    .buehne-werk { aspect-ratio: 4 / 3; clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); margin-top: -1.5rem; }
  }
  @media (max-width: 30rem) { .buehne-wunsch { min-height: 4.56em; } }

  /* ---------- 2 · Showroom ---------- */
  .showroom { background: var(--papier); border-block: 1px solid var(--linie); }
  .filter { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-bottom: var(--r-4); padding-bottom: var(--r-2); border-bottom: 1px solid var(--linie); }
  .filter button { background: none; border: 0; padding: .55rem 0; cursor: pointer; font-weight: 600; font-stretch: 108%; color: var(--stein); border-bottom: 3px solid transparent; }
  .filter button:hover { color: var(--tanne); }
  .filter button[aria-pressed="true"] { color: var(--tanne); border-bottom-color: var(--glut); }
  .filter sup { font-weight: 500; font-size: .7em; margin-left: .25em; font-variant-numeric: tabular-nums; }

  .raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--r-5) var(--r-4); grid-auto-flow: dense; }
  .kachel.gross { grid-column: span 2; }
  .kachel a { display: grid; gap: .25rem; text-decoration: none; height: 100%; align-content: start; }
  .kachel-bild { position: relative; overflow: hidden; background: var(--flechte); height: clamp(13rem, 6rem + 17vw, 20rem); margin-bottom: .8rem; }
  .kachel-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--langsam) var(--kurve); }
  .kachel-bild::after {
    content: attr(data-ansehen); position: absolute; left: 0; bottom: 0; padding: .55rem 1.6rem .55rem 1rem;
    background: var(--glut); color: var(--tanne); font-weight: 680; font-size: .95rem;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); transition: clip-path var(--normal) var(--kurve);
  }
  .kachel a:hover .kachel-bild::after, .kachel a:focus-visible .kachel-bild::after { clip-path: polygon(0 0, calc(100% - .8rem) 0, 100% 100%, 0 100%); }
  .kachel a:hover .kachel-bild img { transform: scale(1.03); }
  .kachel-art { font-size: .9rem; color: var(--stein); }
  .kachel-titel { font-size: var(--g-1); font-weight: 720; font-stretch: 112%; line-height: 1.15; letter-spacing: -.01em; }
  .kachel-wunsch { font: italic 400 1.05rem/1.4 var(--stimme); color: var(--moos); margin-top: .2rem; }
  .kachel.weg { display: none; }

  @media (max-width: 62rem) { .raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 40rem) {
    .raster { grid-template-columns: 1fr; gap: var(--r-4); }
    .kachel.gross { grid-column: auto; }
    .kachel-bild { height: auto; aspect-ratio: 4 / 3; }
    .filter { gap: .2rem 1.1rem; }
  }

  /* ---------- 3 · Atempause ---------- */
  .atem { background: var(--tanne); color: var(--birke); padding-block: var(--r-6); }
  .atem p { font-size: var(--g-3); font-weight: 640; font-stretch: 112%; line-height: 1.12; letter-spacing: -.015em; max-width: 26ch; text-wrap: balance; }

  /* ---------- 4 · Zwei Wege ---------- */
  .wege { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--tanne); }
  .weg { padding: clamp(1.4rem, .8rem + 2.6vw, 3.25rem); display: flex; flex-direction: column; gap: var(--r-3); align-items: flex-start; }
  .weg-lassen { background: var(--flechte); border-left: 1px solid var(--tanne); }
  .weg > p { max-width: 40rem; }
  .formate { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--linie); }
  .formate > div { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: .3rem var(--r-3); padding-block: 1rem; border-bottom: 1px solid var(--linie); }
  .formate dt { font-weight: 700; font-stretch: 108%; }
  .haken { display: grid; gap: .6rem; }
  .haken li { padding-left: 1.6rem; position: relative; }
  .haken li::before { content: ""; position: absolute; left: 0; top: .45em; width: .75rem; height: .45rem; border-left: 3px solid var(--tanne); border-bottom: 3px solid var(--tanne); transform: rotate(-45deg); }
  .weg-preis { font-weight: 650; margin-top: auto; padding-top: var(--r-2); }

  .preise { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--r-4) var(--r-5); margin-top: var(--r-6); scroll-margin-top: 6rem; }
  .preise-kopf { display: grid; gap: var(--r-2); align-content: start; }
  .preise-kopf p { color: var(--stein); }
  .preisliste th, .preisliste td { padding: 1rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; text-align: left; }
  .preisliste tr:first-child th, .preisliste tr:first-child td { border-top: 2px solid var(--tanne); }
  .preisliste th { font-weight: 500; padding-right: var(--r-3); }
  .preisliste th small { display: block; color: var(--stein); font-size: .9rem; font-weight: 400; }
  .preisliste td { text-align: right; font-weight: 720; font-stretch: 108%; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .preisliste .frei td { color: var(--glut-tief); }

  @media (max-width: 62rem) {
    .wege { grid-template-columns: 1fr; }
    .weg-lassen { border-left: 0; border-top: 1px solid var(--tanne); }
    .preise { grid-template-columns: 1fr; }
  }
  @media (max-width: 40rem) {
    .formate > div { grid-template-columns: 1fr; }
    .preisliste td { white-space: normal; padding-left: .5rem; }
  }

  /* ---------- 5 · Ablauf ---------- */
  .ablauf { background: var(--papier); border-block: 1px solid var(--linie); }
  .schritte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: schritt; border-top: 2px solid var(--tanne); }
  .schritte li { counter-increment: schritt; padding: var(--r-3) var(--r-3) 0 0; display: grid; gap: .6rem; align-content: start; }
  .schritte li + li { padding-left: var(--r-3); border-left: 1px solid var(--linie); }
  .schritte li::before { content: counter(schritt); font-size: var(--g-3); font-weight: 800; font-stretch: 125%; line-height: 1; color: var(--glut-tief); }
  .schritte h3 { font-size: var(--g-1); }
  .schritte p { color: var(--stein); }
  @media (max-width: 62rem) {
    .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--r-4); }
    .schritte li:nth-child(3) { padding-left: 0; border-left: 0; }
  }
  @media (max-width: 40rem) {
    .schritte { grid-template-columns: 1fr; }
    .schritte li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--linie); }
  }

  /* ---------- 6 · Alltag ---------- */
  .faelle { border-top: 2px solid var(--tanne); }
  .faelle > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: .4rem var(--r-5); padding-block: 1.4rem; border-bottom: 1px solid var(--linie); }
  .faelle dt { font-size: var(--g-1); font-weight: 700; font-stretch: 112%; line-height: 1.2; }
  .faelle dd { max-width: 48rem; }
  .ausserdem { margin-top: var(--r-4); max-width: 60rem; color: var(--stein); }
  .ausserdem strong { color: var(--tanne); }
  @media (max-width: 40rem) { .faelle > div { grid-template-columns: 1fr; } }

  /* ---------- 7 · Markus ---------- */
  .markus { background: var(--fell); }
  .markus-innen { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--r-4) var(--r-5); align-items: start; }
  .markus-bild { margin: 0; }
  .markus-bild img { width: 100%; clip-path: polygon(0 0, calc(100% - var(--ecke)) 0, 100% var(--ecke), 100% 100%, 0 100%); }
  .markus-bild figcaption { font-size: .9rem; margin-top: .7rem; color: #4a4a3a; }
  .markus-text { display: grid; gap: var(--r-3); }
  .presse { margin-top: var(--r-2); padding: var(--r-3); background: var(--birke); border-left: 4px solid var(--tanne); display: grid; gap: .35rem; }
  .presse-quelle { font-size: .9rem; color: var(--stein); }
  .presse-titel { font-weight: 700; font-stretch: 108%; font-size: var(--g-1); line-height: 1.2; }
  .presse a { font-weight: 600; justify-self: start; }
  .haltung { margin-top: var(--r-6); display: grid; gap: var(--r-3); }
  .haltung-vorspann { max-width: 54rem; font-size: var(--g-1); }
  .grundsaetze { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--r-4); margin-top: var(--r-2); border-top: 2px solid var(--tanne); padding-top: var(--r-3); }
  .grundsaetze strong { display: block; font-stretch: 108%; margin-bottom: .3rem; }
  @media (max-width: 62rem) {
    .markus-innen { grid-template-columns: 1fr; }
    .grundsaetze { grid-template-columns: 1fr; gap: var(--r-3); }
  }

  /* ---------- 8 · Kontakt: das orange Feld am Ende ---------- */
  .kontakt { background: var(--glut); color: var(--tanne); padding-block: var(--r-6); scroll-margin-top: 4rem; }
  .kontakt h2 { font-size: var(--g-4); font-weight: 800; font-stretch: 120%; line-height: .98; letter-spacing: -.03em; max-width: 16ch; }
  .kontakt-vorspann { font-size: var(--g-1); max-width: 44rem; margin-top: var(--r-3); font-weight: 500; }
  .kontakt-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--r-5); margin-top: var(--r-5); align-items: start; }
  .kontakt-direkt { display: grid; gap: .2rem; }
  .kontakt-art { font-weight: 650; margin-top: var(--r-3); }
  .kontakt-art:first-child { margin-top: 0; }
  .telefon { font-size: clamp(1.9rem, .9rem + 4.4vw, 4.1rem); font-weight: 800; font-stretch: 100%; line-height: 1.05; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .mail { font-size: var(--g-2); font-weight: 700; overflow-wrap: anywhere; }
  .telefon:hover, .mail:hover { text-decoration: underline; text-decoration-color: var(--tanne); }
  .kontakt .klein { color: var(--tanne); margin-top: var(--r-3); }
  .kontakt :focus-visible { outline-color: var(--tanne); }

  .wunschformular { background: var(--birke); padding: clamp(1.3rem, .8rem + 2vw, 2.5rem); display: grid; gap: var(--r-2); clip-path: polygon(0 0, calc(100% - var(--ecke)) 0, 100% var(--ecke), 100% 100%, 0 100%); }
  .formular-satz { font: italic 400 var(--g-2)/1.5 var(--stimme); padding-right: var(--ecke); }
  .wunschformular select {
    font: italic 500 1em/1.2 var(--stimme); max-width: 100%;
    background: var(--papier); border: 0; border-bottom: 3px solid var(--glut); padding: .15rem .3rem; margin-block: .2rem; cursor: pointer;
  }
  .wunschformular > * { min-width: 0; }
  .wunschformular label { font-weight: 600; margin-top: var(--r-1); }
  .wunschformular textarea { width: 100%; background: var(--papier); border: 1px solid var(--stein); padding: .8rem; resize: vertical; min-height: 6.5rem; }
  .wunschformular .knopf { justify-self: start; }
  .wunschformular .klein { color: var(--stein); margin-top: 0; }
  @media (max-width: 62rem) { .kontakt-raster { grid-template-columns: 1fr; } }

  /* ---------- Fuß ---------- */
  .fuss { background: var(--tanne); color: var(--birke); padding-block: var(--r-5) var(--r-3); font-size: .98rem; }
  .fuss-innen { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--r-4); }
  .fuss-logo { width: 12rem; background: var(--birke); padding: .5rem .8rem; margin-bottom: var(--r-2); }
  .fuss p { max-width: 30rem; color: rgb(243 245 236 / .8); }
  .fuss-links { display: grid; gap: .55rem; align-content: start; justify-items: start; }
  .fuss-links a, .cookie-settings { color: var(--birke); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; }
  .fuss-links a:hover, .cookie-settings:hover { text-decoration: underline; text-decoration-color: var(--glut); }
  .fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: var(--r-5); padding-top: var(--r-2); border-top: 1px solid rgb(243 245 236 / .2); font-size: .88rem; color: rgb(243 245 236 / .72); }
  .fuss :focus-visible { outline-color: var(--fell); }
  @media (max-width: 62rem) { .fuss-innen { grid-template-columns: 1fr 1fr; } .fuss-innen > :first-child { grid-column: 1 / -1; } }

  /* ---------- Textseiten (Impressum, Datenschutz, 404) ---------- */
  .textseite { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--r-6); }
  .textseite h1 { font-size: var(--g-3); margin-bottom: var(--r-2); }
  .textseite .vorspann { color: var(--stein); margin-bottom: var(--r-5); }
  .textseite h2 { font-size: var(--g-1); margin: var(--r-4) 0 var(--r-1); }
  .textseite p, .textseite address { max-width: 46rem; margin-bottom: var(--r-2); font-style: normal; }
  .textseite-zurueck { display: inline-block; margin-top: var(--r-4); font-weight: 650; }
  .nichtgefunden { min-height: 60dvh; display: grid; align-content: center; gap: var(--r-3); }
  .nichtgefunden h1 { font-size: var(--g-4); max-width: 14ch; }
}

/* ========================================================================== */
@layer werk {
  .werk {
    width: min(100vw, 76rem); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0;
    background: var(--birke); color: var(--tanne); overflow: hidden;
  }
  .werk[open] { display: flex; flex-direction: column; animation: werk-auf var(--normal) var(--kurve); }
  @keyframes werk-auf { from { transform: translateX(3rem); opacity: 0; } }
  .werk::backdrop { background: rgb(12 26 17 / .72); }
  .werk-leiste { display: flex; align-items: center; justify-content: space-between; gap: var(--r-2); padding: .7rem var(--rand); border-bottom: 1px solid var(--linie); background: var(--birke); }
  .werk-art { font-size: .95rem; color: var(--stein); }
  .werk-zu { border: 1px solid var(--tanne); background: none; padding: .5rem 1rem; font-weight: 650; cursor: pointer; }
  .werk-zu:hover { background: var(--tanne); color: var(--birke); }
  .werk-inhalt { overflow-y: auto; overscroll-behavior: contain; flex: 1; }

  .werk-medien { background: #0c1a11; color: var(--birke); }
  .werk-plakat { position: relative; display: grid; }
  .werk-plakat > img { width: 100%; height: clamp(16rem, 52dvh, 34rem); object-fit: cover; }
  .werk-plakat .knopf { position: absolute; left: var(--rand); bottom: var(--r-3); }
  .werk-rahmen { width: 100%; height: min(78dvh, 46rem); border: 0; background: #fff; }
  .werk-medienzeile { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: center; padding: .6rem var(--rand); font-size: .9rem; }
  .werk-medienzeile a { color: var(--fell); }
  .werk-video { width: 100%; max-height: 74dvh; background: #000; }
  .werk-hochkant { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--r-2); padding: var(--r-3) var(--rand); }
  .werk-hochkant.einzeln { grid-template-columns: minmax(0, 22rem); justify-content: center; }
  .werk-hochkant.einzeln video { max-height: 72dvh; }
  .werk-hochkant figure { margin: 0; display: grid; gap: .5rem; align-content: start; }
  .werk-hochkant video { width: 100%; aspect-ratio: 9 / 16; background: #000; object-fit: cover; }
  .werk-hochkant figcaption { font-size: .9rem; }
  .werk-ton { padding: var(--r-2) var(--rand) var(--r-3); display: grid; gap: .5rem; }
  .werk-ton audio { width: 100%; }

  .werk-text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--r-4) var(--r-5); padding: var(--r-4) var(--rand) var(--r-5); }
  .werk-haupt { display: grid; gap: var(--r-3); align-content: start; }
  .werk-wunsch { font: italic 400 var(--g-2)/1.3 var(--stimme); color: var(--moos); border-left: 4px solid var(--glut); padding-left: 1rem; }
  .werk-haupt h2 { font-size: var(--g-3); }
  .werk-verweise { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 650; }
  .werk-presse { padding: var(--r-2) var(--r-3); background: var(--papier); border-left: 4px solid var(--tanne); display: grid; gap: .2rem; }
  .werk-presse small { color: var(--stein); }
  .werk-seite { display: grid; gap: var(--r-4); align-content: start; }
  .werk-seite h3 { font-size: var(--g-1); margin-bottom: var(--r-2); }
  .werk-schritte { counter-reset: s; display: grid; border-top: 2px solid var(--tanne); }
  .werk-schritte li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; padding-block: .8rem; border-bottom: 1px solid var(--linie); }
  .werk-schritte li::before { content: counter(s); font-weight: 800; font-stretch: 120%; color: var(--glut-tief); }
  .werk-werkzeuge { display: grid; gap: .3rem; }
  .werk-werkzeuge li { padding-left: 1rem; position: relative; }
  .werk-werkzeuge li::before { content: ""; position: absolute; left: 0; top: .65em; width: .4rem; height: .4rem; background: var(--moos); }
  .werk-verwandt { display: grid; gap: .4rem; }
  .werk-ruf { grid-column: 1 / -1; background: var(--tanne); color: var(--birke); padding: clamp(1.3rem, 1rem + 1.5vw, 2.2rem); display: grid; gap: var(--r-2); clip-path: polygon(0 0, calc(100% - var(--ecke)) 0, 100% var(--ecke), 100% 100%, 0 100%); }
  .werk-ruf p { font-size: var(--g-2); font-weight: 700; font-stretch: 112%; line-height: 1.15; max-width: 24ch; }
  .werk-ruf div { display: flex; flex-wrap: wrap; gap: .8rem; }

  @media (max-width: 52rem) {
    .werk-text { grid-template-columns: 1fr; }
    .werk-hochkant { grid-template-columns: repeat(3, 62%); overflow-x: auto; scroll-snap-type: x mandatory; }
    .werk-hochkant.einzeln { grid-template-columns: minmax(0, 20rem); overflow: visible; }
    .werk-hochkant figure { scroll-snap-align: start; }
    .werk-rahmen { height: 76dvh; }
  }

  /* ---------- Statistik-Einwilligung ---------- */
  .consent-panel { position: fixed; inset: auto var(--rand) var(--rand) auto; margin: 0; z-index: 150; width: min(34rem, calc(100% - 2 * var(--rand))); max-height: 80dvh; overflow: auto; padding: var(--r-3); border: 2px solid var(--tanne); color: var(--tanne); background: var(--birke); }
  .consent-inner { display: grid; gap: var(--r-2); }
  .consent-kicker { display: none; }
  .consent-panel h2 { font-size: var(--g-1); margin-bottom: .4rem; }
  .consent-panel p { font-size: .92rem; line-height: 1.5; }
  .consent-panel .consent-detail { margin-top: .5rem; color: var(--stein); font-size: .84rem; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  /* beide Antworten sehen bewusst gleich aus */
  .consent-choice { min-height: 3rem; padding: .6rem; border: 0; background: var(--tanne); color: var(--birke); font-weight: 680; cursor: pointer; }
  .consent-choice:hover { background: var(--moos); }
  .consent-privacy, .consent-close { font-size: .88rem; text-align: center; padding: .4rem; background: none; border: 0; cursor: pointer; text-decoration: underline; color: inherit; }
}

/* ========================================================================== */
@layer hilfen {
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  }
  @media print {
    .kopf, .buehne, .filter, .fuss, .werk, .consent-panel, .wunschformular { display: none !important; }
    body { background: #fff; }
    .atem, .kontakt, .markus { background: none; color: #000; }
    .abschnitt, .atem, .kontakt { padding-block: 1.5rem; }
  }
}
