/* Трайков Дом. Стил: праскова, патладжан, тънки линии, лека антиква (Lora, Forum – с кирилица). */

@font-face { font-family: "Lora"; src: url("assets/fonts/lora-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Forum"; src: url("assets/fonts/forum-400.woff2") format("woff2"); font-display: swap; }

:root {
  --blush: #ffe8de;
  --blush-2: #ebd9d0;
  --aub: #331628;
  --lilac: #c0afd5;
  --gold: #f4ae1e;
  --ink: #000;
  --cream: #ffe8de;

  --hd: clamp(68px, 5.56vw, 96px);
  --gut: clamp(16px, 1.85vw, 32px);
  --gut-l: clamp(16px, 2.78vw, 48px);
  --vh: 1svh;

  --serif: "Lora", "Times New Roman", serif;
  --label: "Forum", "Lora", serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--blush); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-transform: inherit; letter-spacing: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--aub); color: var(--cream); padding: 10px 16px; font: 14px var(--label); }
.skip:focus { top: 12px; }

/* Schrift */
.d0, .d1, .num, .lead, .sheet__story, .body, .tile__name, .q__big, .person__name, .dlg__title {
  font-family: var(--serif);
}
.d1 { font-size: clamp(30px, 3.15vw, 56px); line-height: 1.02; font-weight: 400; letter-spacing: -.022em; text-wrap: pretty; }
.d0 { font-size: clamp(36px, 4.15vw, 76px); line-height: 1.04; font-weight: 400; letter-spacing: -.024em; text-wrap: balance; }
.d1--lilac { color: var(--lilac); }
.num { font-size: clamp(60px, 5.6vw, 100px); line-height: .9; font-weight: 400; letter-spacing: -.03em; }
.eyebrow, .cap, .sheet__meta, .credits dt, .credits dd, .q__ask, .tile__kind, .ft__label {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 400;
}
.eyebrow { font-size: clamp(11px, .78vw, 13px); line-height: 1.6; }
.cap { font-size: clamp(11px, .72vw, 12.5px); line-height: 1.5; }
.cap--link { display: inline-block; position: relative; }

/* Unterstrich: läuft nach rechts ein und nach links aus */
.cta { position: relative; display: inline-block; font-family: var(--label); text-transform: uppercase; letter-spacing: .02em; }
.cta::after, .cap--link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right center; transition: transform .45s var(--ease);
}
.cta:hover::after, .tile__btn:hover .cap--link::after, .q__btn:hover .cap--link::after { transform: scaleX(1); transform-origin: left center; }
.cta--big { font-size: clamp(15px, 1.05vw, 18px); margin-top: clamp(28px, 3.4vw, 56px); align-self: flex-start; }
.cta--big::after { transform: scaleX(1); transform-origin: left center; }
.cta--big:hover::after { transform: scaleX(0); transform-origin: right center; }

/* Bilder */
.pic { display: block; position: relative; overflow: hidden; background: var(--blush-2); }
.pic img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.pic--fill { position: absolute; inset: 0; }
.js .pic--rv { clip-path: inset(0 0 100% 0); }
.js .pic--rv img { transform: scale(1.12); }
.pic--rv.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.25s var(--ease); }
.pic--rv.is-in img { transform: scale(1); transition: transform 1.6s var(--ease); }

.js .rv { opacity: 0; transform: translateY(22px); }
.rv.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* Zeilen */
.ln { display: block; overflow: hidden; padding: .1em 0 .16em; margin: -.1em 0 -.16em; }
.ln > span { display: block; will-change: transform; }
.js [data-lines]:not(.is-split) { visibility: hidden; }
.ln-out > span { transform: translateY(112%); }
.ln-in > span { transform: none; transition: transform 1.15s var(--ease); transition-delay: calc(var(--i) * 80ms); }

/* Kopf */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--hd);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gut);
  background: var(--blush);
  border-bottom: 1px solid transparent;
  transition: border-color .4s;
}
.hd.is-scrolled { border-bottom-color: #000; }
.hd__nav { display: flex; gap: clamp(20px, 1.85vw, 32px); font-size: clamp(14px, 1vw, 17px); }
.hd__nav--r { justify-content: flex-end; }
.logo { display: grid; justify-items: center; font-family: "Forum", var(--label); text-transform: uppercase; line-height: 1; }
.logo__a { font-size: clamp(22px, 2.37vw, 41px); letter-spacing: .055em; }
.logo__b { font-size: clamp(11px, 1.12vw, 19px); letter-spacing: .07em; margin-top: .3em; }
.burger { display: none; position: relative; width: 26px; height: 26px; justify-self: end; }
.burger span { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #000; transition: transform .4s var(--ease); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: var(--hd) 0 auto 0; z-index: 39;
  background: var(--blush); border-bottom: 1px solid #000;
  padding: 18px var(--gut) 26px; display: grid; gap: 4px;
}
.menu a { font-size: 32px; line-height: 1.25; font-weight: 400; letter-spacing: -.02em; }

/* 1. Eingang */
main { padding-top: var(--hd); }
section[id], footer[id] { scroll-margin-top: var(--hd); }
.hero {
  position: relative;
  height: calc(100svh - var(--hd));
  min-height: 560px;
  overflow: clip;
  border-bottom: 1px solid #000;
}
.hero__pic { position: absolute; display: block; will-change: transform; }
.hero__pic .cap { display: block; margin-top: 10px; }
.hero__pic img { transition: transform 1.4s var(--ease); }
.hero__pic:hover .pic.is-in img { transform: scale(1.035); transition: transform 1.4s var(--ease); }
.hero__pic--a { left: 36.6%; top: 0; width: min(17vw, 41svh); }
.hero__pic--a .pic { aspect-ratio: 3 / 4; }
.hero__pic--b { left: 77.7%; top: 7.4%; width: min(15vw, 36svh); }
.hero__pic--b .pic { aspect-ratio: 4 / 5; }
.hero__pic--c { left: 57.7%; top: 51%; width: min(22vw, 44svh); }
.hero__pic--c .pic { aspect-ratio: 4 / 3; }
.hero__text { position: absolute; left: var(--gut-l); bottom: 9.5%; width: min(47%, 800px); }
.hero__text .eyebrow { margin-bottom: 10px; }

/* 2. Blätter */
.stack { position: relative; }
.sheets { position: relative; }
.sheet {
  position: sticky; top: var(--hd);
  height: calc(100svh - var(--hd));
  min-height: 520px;
  display: grid; grid-template-columns: minmax(0, 23.6%) minmax(0, 1fr);
  gap: 0 var(--gut-l);
  padding: clamp(20px, 2.8vw, 48px) var(--gut-l) clamp(20px, 2.8vw, 48px);
  background: var(--blush-2);
  border-top: 1px solid #000;
}
.sheet:first-child { border-top: 0; }
.sheet__side { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.sheet__foot { display: grid; gap: clamp(14px, 1.6vw, 28px); }
.sheet__story { font-size: clamp(16px, 1.2vw, 21px); line-height: 1.2; font-weight: 400; letter-spacing: -.012em; max-width: 25em; }
.credits { display: grid; gap: 10px; }
.credits dt { font-size: clamp(10px, .62vw, 11px); line-height: 1.4; }
.credits dd { font-size: clamp(12.5px, .86vw, 15px); line-height: 1.3; }
.sheet__main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.sheet__meta { display: grid; grid-template-columns: 1fr auto 1fr; font-size: clamp(11px, .78vw, 13px); line-height: 1.4; padding-bottom: clamp(12px, 1.5vw, 26px); }
.sheet__meta h2 { font: inherit; letter-spacing: inherit; }
.sheet__meta span:last-child { text-align: right; }
.sheet__main .pic { position: relative; flex: 1 1 auto; min-height: 0; inset: auto; }
.sheet__main .pic img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }

/* 3. Kollektion */
.coll { position: relative; z-index: 2; background: var(--blush); padding: clamp(84px, 9vw, 150px) 0 clamp(70px, 7vw, 120px); border-top: 1px solid #000; }
.coll__head { padding: 0 var(--gut); max-width: 62%; }
.coll__head .eyebrow { margin-bottom: 6px; }
.tabs { margin-top: clamp(50px, 5.5vw, 92px); display: grid; grid-template-columns: 1fr auto 1fr; padding: clamp(16px, 1.5vw, 24px) var(--gut); border-block: 1px solid #000; font-family: var(--label); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(12px, .86vw, 14.5px); }
.tab:first-child { justify-self: start; }
.tab:last-child { justify-self: end; }
.tab { position: relative; transition: opacity .3s; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: #000; transform: scaleX(0); transform-origin: right center; transition: transform .45s var(--ease); }
.tab:hover::after, .tab.is-on::after { transform: scaleX(1); transform-origin: left center; }
.grid { padding: clamp(18px, 1.7vw, 28px) var(--gut) 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 3.9vw, 66px) clamp(16px, 2.2vw, 38px); }
.tile { transition: opacity .45s var(--ease); }
.tile.is-off { display: none; }
.tile.is-fade { opacity: 0; }
.tile__btn { display: block; width: 100%; text-align: left; }
.tile .pic { aspect-ratio: 1; }
.tile .pic img { transition: transform 1.4s var(--ease); }
.tile__btn:hover .pic img { transform: scale(1.035); }
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.tile video.is-on { opacity: 1; }
.tile__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 12px; }
.tile__name { font-size: clamp(19px, 1.4vw, 24px); line-height: 1.1; font-weight: 400; letter-spacing: -.015em; }
.tile__kind { display: block; font-size: clamp(10.5px, .68vw, 11.5px); margin-top: 4px; }

/* 4. Dinge fallen */
.fall { position: relative; height: 640svh; background: var(--blush); z-index: 1; }
.fall__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.fall__text { position: absolute; left: 50%; top: calc(50% + var(--hd) / 2); transform: translate(-50%, -50%); width: min(62vw, 1040px); text-align: center; z-index: 3; }
.fall__text .eyebrow { margin-bottom: 12px; }
.fall__text h2 { grid-area: 1 / 1; }
.fall__a, .fall__b { display: block; }
.fall__b { position: absolute; left: 0; right: 0; top: calc(clamp(11px, .78vw, 13px) * 1.6 + 12px); visibility: hidden; }
.fall__sum { margin-top: clamp(16px, 1.7vw, 28px); display: flex; justify-content: center; align-items: baseline; gap: .9em; }
.fall__sum output { font-family: var(--label); font-size: clamp(16px, 1.25vw, 22px); letter-spacing: .02em; font-variant-numeric: tabular-nums; min-width: 6ch; text-align: left; }
.fall__room { position: absolute; left: 72%; top: calc(50% + var(--hd) / 2); width: min(25vw, 62svh); aspect-ratio: 3 / 4; z-index: 1; transform: translate(-50%, -50%); will-change: transform; }
.fall__room img { width: 100%; height: 100%; object-fit: cover; }
.fall__things { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.thing { position: absolute; left: calc(50% + var(--x) * var(--xf, 1) * 1vw); top: 0; width: calc(var(--s) * 1vw); will-change: transform; }
.thing img { width: 100%; height: auto; transform: translateZ(0); }
.thing figcaption { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: calc(var(--s) * .2vw + 4px); white-space: nowrap; text-align: center; font-family: var(--label); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(10.5px, .72vw, 12.5px); line-height: 1.35; }
.thing figcaption b { display: block; font-weight: 400; }
.inv { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* 5. Nachrechnen */
.dark { position: relative; z-index: 3; background: var(--aub); color: var(--cream); padding: clamp(48px, 5vw, 84px) var(--gut-l) clamp(48px, 5vw, 84px); }
.dark__pics { position: relative; height: clamp(320px, 26vw, 450px); }
.dark__pic { position: absolute; will-change: transform; }
.dark__pic .pic { background: #452337; }
.dark__pic--a { left: 34.9%; top: 0; width: min(16.9vw, 300px); }
.dark__pic--a .pic { aspect-ratio: 4 / 5; }
.dark__pic--b { left: 75.4%; top: 5%; width: min(15vw, 260px); }
.dark__pic--b .pic { aspect-ratio: 3 / 4; }
.dark__row { position: relative; display: grid; grid-template-columns: minmax(0, 46.5%) 1fr; gap: 0 9%; align-items: end; margin-top: clamp(20px, 2vw, 34px); }
.dark__pic--c { position: relative; width: min(22vw, 380px); margin-left: 0; }
.dark__pic--c .pic { aspect-ratio: 4 / 5; }
.dark__mono { position: absolute; right: 0; bottom: 0; width: clamp(64px, 5.6vw, 96px); color: var(--lilac); }
.dark__mono svg { display: block; width: 100%; height: auto; }

.reckon h2 { margin-bottom: clamp(26px, 2.8vw, 46px); }
.reckon__field label { display: block; font-family: var(--label); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(12px, .86vw, 14.5px); margin-bottom: 4px; }
.reckon__input { display: flex; align-items: baseline; gap: .4em; }
.reckon__input input { width: 4.2ch; background: none; border: 0; color: var(--cream); font-family: var(--serif); font-size: clamp(30px, 2.6vw, 46px); font-weight: 400; padding: 0; line-height: 1.1; -moz-appearance: textfield; appearance: textfield; }
.reckon__input input::-webkit-outer-spin-button, .reckon__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.reckon__input span { font-family: var(--label); font-size: clamp(14px, 1vw, 17px); opacity: .75; }
.reckon__range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 24px; margin: 2px 0 0; background: none; cursor: grab; --p: 22.8%; }
.reckon__range::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, var(--cream) var(--p), rgba(255,232,222,.4) var(--p)); }
.reckon__range::-moz-range-track { height: 1px; background: rgba(255,232,222,.4); }
.reckon__range::-moz-range-progress { height: 1px; background: var(--cream); }
.reckon__range::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; margin-top: -7px; border-radius: 50%; background: var(--cream); transition: transform .25s var(--ease); }
.reckon__range::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: var(--cream); }
.reckon__range:active::-webkit-slider-thumb { transform: scale(1.25); }
.reckon__out { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin: clamp(18px, 1.8vw, 30px) 0 clamp(18px, 1.6vw, 26px); }
.reckon__out dt { font-family: var(--label); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(10.5px, .72vw, 12.5px); margin-bottom: 3px; }
.reckon__out dd { font-size: clamp(34px, 3.5vw, 62px); line-height: 1; font-weight: 400; letter-spacing: -.025em; font-feature-settings: "lnum" 1; }
.btn { display: block; width: 100%; padding: 15px 20px; background: #000; color: var(--cream); font-family: var(--label); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(13px, 1vw, 17px); border-radius: 2px; text-align: center; transition: background .4s, color .4s; }
.btn:hover { background: var(--cream); color: #000; }
.btn--light { background: var(--cream); color: #000; }
.btn--light:hover { background: var(--lilac); }
.reckon__note { margin-top: 16px; font-size: clamp(12.5px, .86vw, 14.5px); line-height: 1.38; opacity: .78; max-width: 40em; }

/* 6. Oft gefragt */
.faq { position: relative; z-index: 3; background: var(--blush); padding: clamp(46px, 5vw, 84px) var(--gut) clamp(60px, 7vw, 120px); }
.faq__title { font: 400 clamp(15px, 1.05vw, 18px)/1.3 var(--label); text-transform: uppercase; letter-spacing: .02em; padding-bottom: 12px; border-bottom: 1px solid #000; }
.faq__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 7.4vw, 128px); }
.q { border-bottom: 1px solid #000; padding: clamp(22px, 2.2vw, 36px) 0 clamp(20px, 2vw, 32px); display: flex; flex-direction: column; }
.q__btn { display: flex; flex-direction: column; text-align: left; width: 100%; }
.q__ask { font-size: clamp(12px, .86vw, 14.5px); line-height: 1.35; }
.q__big { font-size: clamp(32px, 3.1vw, 56px); line-height: 1.04; font-weight: 400; letter-spacing: -.022em; margin-top: 4px; }
.q__foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: clamp(30px, 4.6vw, 80px); }
.q__foot .cap { letter-spacing: .1em; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.q__foot .cap::after { display: none; }
.arr { position: relative; display: block; width: clamp(24px, 1.8vw, 31px); aspect-ratio: 1; transition: transform .6s var(--ease); }
.arr::before { content: ""; position: absolute; right: 0; top: 0; width: 100%; height: 100%; border-top: 1px solid #000; border-right: 1px solid #000; }
.arr::after { content: ""; position: absolute; left: -20%; bottom: 0; width: 140%; height: 1px; background: #000; transform: rotate(-45deg); transform-origin: center; top: 50%; }
.q__btn[aria-expanded="true"] .arr { transform: rotate(135deg); }
.q__a { height: 0; overflow: hidden; }
.q__a p { padding-top: 16px; font-size: clamp(17px, 1.22vw, 21px); line-height: 1.24; max-width: 26em; }

/* 7. Über mich */
.about { position: relative; z-index: 3; background: var(--blush); padding-top: clamp(40px, 5vw, 84px); }
.about__top { position: relative; padding: 0 var(--gut); text-align: center; min-height: clamp(420px, 40vw, 700px); }
.about__top .eyebrow { margin-bottom: 8px; }
.about__claim { max-width: 15.6em; margin: 0 auto; position: relative; z-index: 2; }
.about__portrait { position: absolute; left: 60%; top: clamp(100px, 9.6vw, 166px); width: min(21vw, 360px); z-index: 1; }
.about__portrait .pic { aspect-ratio: 4 / 5; }
.lead { padding: 0 var(--gut); margin: clamp(-120px, -7vw, -40px) 0 0 19.3%; max-width: 15.6em; font-size: clamp(22px, 2vw, 36px); line-height: 1.32; font-weight: 400; letter-spacing: -.014em; position: relative; z-index: 2; }
.about__how { position: relative; margin-top: clamp(60px, 7vw, 120px); min-height: clamp(400px, 36vw, 620px); }
.about__nook { position: absolute; left: 56.4%; top: 0; width: min(24.3vw, 420px); }
.about__nook .pic { aspect-ratio: 4 / 5; }
.about__howtext { position: absolute; left: 19.3%; bottom: 14%; width: 46%; z-index: 2; }
.about__howtext .eyebrow { margin-bottom: 6px; }
.steps { position: relative; display: grid; grid-template-columns: 19.3% minmax(0, 28%) 5% minmax(0, 28.3%); padding-bottom: clamp(60px, 6vw, 100px); margin-top: clamp(40px, 4vw, 70px); }
.step { display: flex; flex-direction: column; }
.step .num { margin-bottom: clamp(24px, 3.2vw, 56px); }
.body { font-size: clamp(17px, 1.26vw, 22px); line-height: 1.22; letter-spacing: -.01em; }
.step--1 { grid-column: 4; grid-row: 1; }
.step--2 { grid-column: 2; grid-row: 2 / span 2; margin-top: clamp(-160px, -8vw, -60px); padding-right: 6%; }
.step__pic { grid-column: 4; grid-row: 2; position: relative; margin-top: clamp(30px, 3.2vw, 56px); }
.step__pic .pic { aspect-ratio: 4 / 3; }

.draw { display: block; pointer-events: none; }
.draw svg { display: block; width: 100%; height: auto; overflow: visible; }
.draw--lamp { position: absolute; right: -8%; top: -13%; width: 26%; color: var(--gold); }
.draw--vase { width: min(9vw, 160px); color: #000; align-self: center; justify-self: center; }
.draw--life { color: var(--cream); width: clamp(180px, 17vw, 300px); align-self: end; }

.people { border-top: 1px solid #000; padding: clamp(40px, 3.4vw, 58px) var(--gut) clamp(60px, 6vw, 100px); }
.people .eyebrow { margin-bottom: 4px; }
.people__claim { max-width: 15em; padding-bottom: clamp(24px, 2.6vw, 44px); }
.people__row { border-top: 1px solid #000; margin: 0 calc(var(--gut) * -1); padding: clamp(28px, 2.6vw, 44px) var(--gut-l) 0; display: grid; grid-template-columns: 27.8% 1fr 27.8%; align-items: start; }
.people__row .draw { align-self: center; }
.person .pic { aspect-ratio: 3 / 3.4; }
.person figcaption { display: grid; gap: 2px; margin-top: 12px; }
.person__name { font-size: clamp(22px, 1.8vw, 31px); line-height: 1.05; font-weight: 400; letter-spacing: -.016em; }
.people__facts { margin-top: clamp(30px, 3.2vw, 54px); font-family: var(--label); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(11px, .72vw, 12.5px); text-align: center; line-height: 1.6; }

/* 8. Fuß */
.ft { position: relative; z-index: 3; background: var(--aub); color: var(--cream); padding: clamp(48px, 5vw, 84px) var(--gut-l) 18px; }
.ft__claim { max-width: 8.6em; }
.ft__mid { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-top: clamp(12px, 1vw, 16px); padding-bottom: clamp(28px, 2.7vw, 46px); }
.ft__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: 24px; font-family: var(--label); font-size: clamp(12.5px, .86vw, 14.5px); line-height: 1.62; }
.ft__cols > div { display: flex; flex-direction: column; align-items: flex-start; }
.ft__cols a:hover { text-decoration: underline; text-underline-offset: 2px; }
.ft__label { font-size: clamp(12.5px, .92vw, 15.5px); margin-bottom: 6px; }
.ft__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-block: 1px solid rgba(255, 232, 222, .55); padding: clamp(20px, 2vw, 34px) 0; }
.ft__small { font-family: var(--serif); text-transform: uppercase; font-size: clamp(12.5px, .92vw, 15.5px); font-weight: 400; }
.ft__small:hover { text-decoration: underline; text-underline-offset: 2px; }
.ft__small:last-child { justify-self: end; }
.ft__main { font-family: var(--label); text-transform: uppercase; letter-spacing: .02em; font-size: clamp(14px, 1.05vw, 18px); position: relative; }
.ft__main:hover { color: var(--lilac); }
.ft__legal { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; font-family: var(--label); font-size: clamp(11px, .76vw, 13px); }

/* Fenster */
.dlg { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: var(--gut); }
.dlg__veil { position: absolute; inset: 0; background: rgba(235, 217, 208, .78); opacity: 0; transition: opacity .5s var(--ease); }
.dlg__box { position: relative; display: grid; grid-template-columns: 38.5% 1fr; width: min(100%, 780px); max-height: calc(100svh - 2 * var(--gut)); background: var(--aub); color: var(--cream); opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.dlg.is-open .dlg__veil { opacity: 1; }
.dlg.is-open .dlg__box { opacity: 1; transform: none; }
.dlg--wide .dlg__box { width: min(100%, 1120px); grid-template-columns: 48% 1fr; }
.dlg__pic { position: relative; min-height: 100%; overflow: hidden; }
.dlg__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dlg__panel { position: relative; padding: clamp(36px, 4.4vw, 76px) clamp(26px, 5vw, 86px) clamp(32px, 4vw, 66px); overflow: auto; }
.dlg__x { position: absolute; right: 18px; top: 18px; width: 26px; height: 26px; }
.dlg__x::before, .dlg__x::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1px; background: var(--cream); }
.dlg__x::before { transform: rotate(45deg); }
.dlg__x::after { transform: rotate(-45deg); }
.dlg__title { font-size: clamp(30px, 2.7vw, 46px); line-height: 1.04; font-weight: 400; letter-spacing: -.02em; padding-bottom: clamp(14px, 1.3vw, 22px); border-bottom: 1px solid var(--cream); margin-bottom: clamp(20px, 2vw, 34px); }
.dlg__kind { font-family: var(--label); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(11px, .78vw, 13px); margin-bottom: 6px; color: var(--lilac); }
.dlg__text { font-size: clamp(16px, 1.22vw, 21px); line-height: 1.26; }
.dlg__sub { font-family: var(--label); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(11px, .78vw, 13px); margin: clamp(20px, 2vw, 34px) 0 5px; color: var(--lilac); }
.dlg__form { display: grid; gap: 16px; }
.dlg__form label { display: grid; gap: 2px; font-family: var(--label); text-transform: uppercase; letter-spacing: .03em; font-size: 12px; }
.dlg__form input { background: none; border: 0; border-bottom: 1px solid rgba(255, 232, 222, .75); color: var(--cream); font: 400 16px/1.5 system-ui, -apple-system, sans-serif; padding: 6px 0 10px; text-transform: none; letter-spacing: 0; border-radius: 0; }
.dlg__form input::placeholder { color: rgba(255, 232, 222, .6); }
.dlg__form input:focus { outline: none; border-bottom-color: var(--lilac); }
.dlg__hint { font-size: 14px; color: var(--lilac); }
.dlg__done { font-size: clamp(20px, 1.6vw, 28px); line-height: 1.15; }
.dlg__panel .btn { margin-top: clamp(20px, 2vw, 32px); }
.dlg__form .btn { margin-top: 6px; }

/* Rechtliches im Fenster */
.dlg--legal .dlg__box { grid-template-columns: 1fr; width: min(100%, 720px); }
.dlg--legal .dlg__pic { display: none; }
.dlg--legal .dlg__text { font-size: clamp(15px, 1.02vw, 17.5px); }

/* Ohne JavaScript: die Liste der Dinge steht offen da */
html:not(.js) .fall { height: auto; }
html:not(.js) .fall__stage { position: relative; height: auto; padding: 80px var(--gut) 20px; }
html:not(.js) .fall__text { position: relative; left: auto; top: auto; transform: none; width: auto; margin: 0 auto; }
html:not(.js) .fall__room, html:not(.js) .fall__sum { display: none; }
html:not(.js) .inv { position: static; width: auto; height: auto; overflow: visible; clip-path: none; padding: 0 var(--gut) 60px; text-align: center; font-family: var(--label); text-transform: uppercase; letter-spacing: .03em; font-size: 13px; line-height: 1.8; }

/* Klein */
@media (max-width: 1000px) {
  .hd { grid-template-columns: 1fr auto 1fr; }
  .hd__nav { display: none; }
  .burger { display: block; grid-column: 3; }
  .logo { grid-column: 2; grid-row: 1; }

  .hero { height: auto; min-height: 0; padding: 0 var(--gut) 34px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; }
  .hero__pic { position: relative; left: auto; top: auto; width: auto; }
  .hero__pic--a { grid-column: 2 / 8; grid-row: 1; }
  .hero__pic--b { grid-column: 9 / 13; grid-row: 1; margin-top: 56px; }
  .hero__pic--c { grid-column: 5 / 13; grid-row: 2; margin-top: 18px; }
  .hero__text { position: relative; left: auto; bottom: auto; width: auto; grid-column: 1 / -1; grid-row: 3; margin-top: 34px; }

  .sheet { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; padding: 18px var(--gut) 20px; gap: 14px; height: calc(100svh - var(--hd)); min-height: 0; }
  .sheet__side { flex-direction: row; gap: 18px; order: 2; align-items: flex-start; }
  .sheet__side .num { font-size: 54px; flex: 0 0 auto; }
  .sheet__story { font-size: 16px; }
  .credits { grid-template-columns: 1fr 1fr; }
  .sheet__meta { grid-template-columns: 1fr 1fr; row-gap: 2px; }
  .sheet__meta span:nth-child(2) { text-align: right; }
  .sheet__meta span:last-child { grid-column: 1 / -1; text-align: left; opacity: .7; }

  .coll__head { max-width: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .tile__row { display: block; }
  .tile__row .cap { display: none; }

  .fall { height: 620svh; }
  .fall__text { width: calc(100vw - 2 * var(--gut)); }
  .fall__room { left: 66%; top: 30%; width: 44vw; }
  .thing { --xf: .66; width: calc(var(--s) * 1.9vw); }

  .dark__pics { height: 62vw; }
  .dark__pic--a { left: 12%; width: 40vw; }
  .dark__pic--b { left: auto; right: 0; width: 32vw; }
  .dark__row { grid-template-columns: 1fr; gap: 34px; }
  .dark__pic--c { width: 56vw; }

  .faq__grid { grid-template-columns: 1fr; }
  .q__foot { margin-top: 26px; }

  .about__top { min-height: 0; padding-bottom: 20px; }
  .about__portrait { position: relative; left: auto; top: auto; width: 62vw; margin: -8px 0 0 auto; }
  .lead { margin: 30px 0 0; padding: 0 var(--gut); max-width: none; }
  .about__how { min-height: 0; display: grid; gap: 22px; padding: 0 var(--gut); }
  .about__nook { position: relative; left: auto; width: 62vw; }
  .about__howtext { position: relative; left: auto; bottom: auto; width: auto; margin-top: -26px; }
  .steps { display: flex; flex-direction: column; gap: 42px; padding: 0 var(--gut) 56px; }
  .step--2 { margin-top: 0; padding-right: 0; }
  .step__pic { margin-top: 0; order: 3; }
  .draw--lamp { right: 2%; top: -18%; width: 24%; }
  .people__row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .people__row .draw { display: none; }

  .ft__mid { grid-template-columns: 1fr; gap: 30px; }
  .ft__cols { grid-template-columns: 1fr; gap: 18px; }
  .draw--life { justify-self: end; }
  .ft__bar { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .ft__main { grid-column: 1 / -1; grid-row: 1; }
  .ft__legal { flex-direction: column; gap: 6px; }

  .dlg { padding: 0; }
  .dlg__box, .dlg--wide .dlg__box { grid-template-columns: 1fr; grid-template-rows: 30svh minmax(0, 1fr); width: 100%; height: 100svh; max-height: none; }
  .dlg__pic { min-height: 0; }
}

@media (max-width: 1000px) and (orientation: landscape) {
  .sheet { position: relative; top: auto; height: auto; }
  .sheet__main .pic { aspect-ratio: 16 / 9; flex: none; }
}

/* Reduzierte Bewegung: Dinge als stille Liste, nichts fällt */
@media (prefers-reduced-motion: reduce) {
  .js .pic--rv { clip-path: none; }
  .js .pic--rv img { transform: none; }
  .js .rv { opacity: 1; transform: none; }
  .ln-out > span { transform: none; }
  .fall { height: auto; }
  .fall__stage { position: relative; height: auto; overflow: visible; padding: calc(var(--hd) + 20px) var(--gut) 60px; display: grid; gap: 30px; }
  .fall__text { position: relative; left: auto; top: auto; transform: none; width: auto; margin: 0 auto; }
  .fall__room, .fall__sum { display: none; }
  .fall__things { position: relative; inset: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 30px 20px; }
  .thing { position: relative; left: auto; width: auto; transform: none !important; }
  .thing img { transform: none !important; }
  .thing figcaption { position: static; transform: none; white-space: normal; }
}
