/* ============================================================
   KIMSEN v4 »Helles Papier« — Über-Seite (Story-Layout)
   Werdegang-Faden, Werkstatt-Karten, Rituale-Notiz, Abseits-Wand.
   Baut vollständig auf den v4-Tokens auf.
   Lädt NACH kimsen-v4-unterseiten.css.
   ============================================================ */

/* ---------- Intro ---------- */
.ueber-intro .display { font-size: clamp(42px, 5.5vw, 76px); }
.ueber-intro .lead { margin-top: 14px; }
.ueber-intro .studio-notes { margin-top: 26px; }
.ueber-fig-2 { max-width: 70%; margin: 28px auto 0; }

/* ---------- Werdegang: Stationen am Bleistift-Faden ---------- */
.weg {
  --weg-pad: clamp(36px, 5vw, 56px);
  position: relative;
  max-width: 880px;
  padding-left: var(--weg-pad);
  display: grid;
  gap: clamp(40px, 5.5vw, 68px);
}
.weg::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 12px;
  width: 12px;
  background-image: var(--pline-v);
  background-repeat: repeat-y;
  background-position: left top;
  background-size: 12px 360px;
}
.weg-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(88px, 9vw, 118px) minmax(0, 1fr);
  gap: 6px clamp(18px, 3vw, 36px);
  align-items: start;
}
.weg-item::before {
  content: '';
  position: absolute; top: 10px;
  left: calc(-1 * var(--weg-pad) + 1px);
  width: 11px; height: 11px;
  background: var(--accent);
  border-radius: 47% 53% 42% 58% / 58% 42% 56% 44%;
  box-shadow: 0 1px 3px rgba(62, 52, 30, .3);
}
.weg-jahr {
  font-family: var(--f-hand);
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.2;
  color: var(--accent);
  transform: rotate(-2deg);
  padding-top: 5px;
}
.weg-txt h3 {
  font-family: var(--f-hand);
  font-size: clamp(26px, 2.7vw, 37px);
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 10px;
  text-wrap: balance;
}
.weg-txt p { font-size: 15px; line-height: 1.7; color: var(--body); max-width: 58ch; }
.weg-txt .tlink { font-size: 19px; margin-top: 6px; }
.weg-item--bild .weg-txt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(140px, 15vw, 200px);
  gap: 0 clamp(20px, 3vw, 34px);
}
.weg-item--bild .weg-txt h3 { grid-column: 1 / -1; }
.weg-item--bild .weg-thumb { grid-column: 2; grid-row: 2 / span 3; align-self: start; }
.weg-thumb { padding: 6px 6px 8px; }
.weg-thumb .handcap { font-size: 14.5px; padding-top: 6px; }
@media (max-width: 640px) {
  .weg { --weg-pad: 28px; }
  .weg-item { grid-template-columns: 1fr; gap: 2px; }
  .weg-jahr { padding-top: 0; }
  .weg-item--bild .weg-txt { grid-template-columns: 1fr; }
  .weg-item--bild .weg-thumb { grid-column: 1; grid-row: auto; max-width: 220px; margin-top: 14px; }
}

/* ---------- Werkstatt: Inventurblatt + Rituale ---------- */
.werkbank {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(264px, 26vw, 330px);
  column-gap: clamp(22px, 2.8vw, 48px);
  align-items: start;
}
.werkbank-blatt {
  position: relative; z-index: 1;
  background: var(--card);
  border: 1px solid rgba(64, 55, 42, .12);
  border-radius: 5px 7px 4px 6px;
  box-shadow: 0 18px 44px rgba(62, 52, 30, .16);
  padding: clamp(24px, 3vw, 40px) clamp(14px, 2vw, 26px) clamp(16px, 2.2vw, 26px);
  transform: rotate(calc(-.5deg * var(--tilt)));
}
.werkbank-blatt::after {
  content: '';
  position: absolute; bottom: -11px; right: 9%;
  width: 70px; height: 22px;
  transform: rotate(calc(4deg * var(--tilt)));
  background: rgba(231, 193, 99, .45);
  box-shadow: 0 1px 2px rgba(62, 52, 30, .15);
}
.wb-kopf {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 4px 18px;
  padding: 0 clamp(16px, 2.4vw, 30px) clamp(10px, 1.4vw, 18px);
}
.wb-kopf .handnote { margin: 0; }
.wb-datum { transform: rotate(-1.2deg); }
.wb-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wb-item { position: relative; padding: clamp(18px, 2.4vw, 28px) clamp(16px, 2.4vw, 30px) clamp(20px, 2.6vw, 30px); }
.wb-item:nth-child(2) { background: var(--pline-v) left top / 12px calc(100% - 30px) no-repeat; }
.wb-item:nth-child(3) { background: var(--pline-2) left top / calc(100% - 30px) 12px no-repeat; }
.wb-item:nth-child(4) { background: var(--pline-3) right top / calc(100% - 30px) 12px no-repeat, var(--pline-v) left bottom / 12px calc(100% - 30px) no-repeat; }
.wb-nr {
  font-family: var(--f-hand);
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--accent);
  display: inline-block;
  transform: rotate(-2deg);
  margin-bottom: 2px;
}
.wb-pk {
  position: absolute;
  top: clamp(20px, 2.6vw, 30px); right: clamp(12px, 1.8vw, 24px);
  width: clamp(54px, 5.2vw, 78px);
  transform: rotate(calc(3deg * var(--tilt)));
  filter: drop-shadow(0 4px 10px rgba(62, 52, 30, .18));
  transition: transform .35s cubic-bezier(.2, .8, .25, 1);
}
.wb-item:nth-child(even) .wb-pk { transform: rotate(calc(-3deg * var(--tilt))); }
.wb-item:hover .wb-pk { transform: rotate(0deg) translateY(-4px); }
.wb-item h3 {
  font-family: var(--f-hand);
  font-size: clamp(24px, 2.1vw, 30px);
  color: var(--ink);
  margin: 0 0 8px;
  padding-right: clamp(56px, 5.4vw, 82px);
}
.wb-item p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 36ch; }
.wb-item .paint-strip { margin-top: 16px; }
.wb-item .margin-note { display: block; margin-top: 14px; }
.stroke-probe { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.stroke-probe i {
  display: block;
  width: 58px; height: 2px;
  background: var(--ink);
  border-radius: 60% 40% 55% 45% / 50% 50% 48% 52%;
  transform: rotate(-1.2deg);
}
.stroke-probe i:nth-child(2) { width: 44px; height: 3.5px; transform: rotate(1.4deg); }
.stroke-probe i:nth-child(3) { width: 66px; height: 5.5px; border-radius: 55% 45% 60% 40% / 48% 52% 46% 54%; }
.stroke-probe--bunt i { background: var(--clay); height: 4.5px; }
.stroke-probe--bunt i:nth-child(2) { background: var(--leaf); width: 50px; height: 4.5px; }
.stroke-probe--bunt i:nth-child(3) { background: var(--sky-blue); width: 40px; height: 4.5px; }

.rituale {
  position: relative; z-index: 2;
  margin: clamp(34px, 4.5vw, 60px) 0 0 0;
  background: color-mix(in srgb, var(--sun) 11%, var(--card));
  border: 1.5px solid rgba(64, 55, 42, .24);
  border-radius: 18px 22px 15px 20px;
  padding: clamp(24px, 3.2vw, 36px) clamp(22px, 3vw, 34px);
  transform: rotate(calc(1.1deg * var(--tilt)));
  box-shadow: 0 16px 36px rgba(62, 52, 30, .16);
}
.rituale h3 {
  font-family: var(--f-hand);
  font-size: clamp(26px, 2.4vw, 32px);
  color: var(--ink);
  margin: 0 0 4px;
}
.rituale > p { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.rituale ul { list-style: none; margin: 0; padding: 0; }
.rituale li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0;
  font-size: 15px; line-height: 1.6;
  color: var(--body);
}
.rituale li + li {
  background-image: var(--pline);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 12px;
}
.rituale li:nth-child(3n+2) { --pline: var(--pline-2); }
.rituale li:nth-child(3n) { --pline: var(--pline-3); }
.rituale li .ki { width: 24px; flex: none; margin-top: 3px; color: var(--leaf); --ki-stroke: 2; }
.rituale .margin-note { display: block; margin-top: 16px; }
@media (max-width: 960px) {
  .werkbank { grid-template-columns: 1fr; }
  .rituale { max-width: 560px; margin: 44px auto 0; }
}
@media (max-width: 560px) {
  .wb-liste { grid-template-columns: 1fr; }
  .wb-item:nth-child(2) { background: var(--pline-2) left top / 100% 12px no-repeat; }
  .wb-item:nth-child(3) { background: var(--pline-3) left top / 100% 12px no-repeat; }
  .wb-item:nth-child(4) { background: var(--pline-1) left top / 100% 12px no-repeat; }
}

/* ---------- Abseits vom Zeichentisch ---------- */
.abseits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 44px);
  align-items: start;
}
.abseits-grid > figure:nth-child(2) { margin-top: clamp(16px, 3vw, 38px); }
.abseits-chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 18px;
  margin-top: clamp(34px, 5vw, 56px);
}
@media (max-width: 780px) {
  .abseits-grid { grid-template-columns: 1fr 1fr; }
  .abseits-grid > figure:nth-child(3) { grid-column: 1 / -1; max-width: 340px; margin-inline: auto; }
}
@media (max-width: 520px) {
  .abseits-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .abseits-grid > figure:nth-child(2) { margin-top: 0; }
}

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
  .ueber-intro .display { font-size: clamp(40px, 11vw, 54px); }
  .ueber-grid { gap: 34px; }
  .ueber-grid > div:first-child .print { max-width: min(76vw, 330px); margin-inline: auto; }
  .werkbank-blatt { padding-top: 20px; }
  .rituale { max-width: none; transform: rotate(.6deg); }
  .abseits-chips .chip { white-space: normal; text-align: center; }
}
