/* ==========================================================================
   Welt 3 · MANUFAKTUR — warm, Papier / Eiche / Rötel, das Handwerk sichtbar
   Muster-Firma: Ahrens Treppenbau, Gelnhausen (fiktiv)
   Regeln: siehe manufaktur/DESIGN.md
   ========================================================================== */

@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 500; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../assets/fonts/dm-sans.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --paper: #efe7d8;      /* Werkpapier, Seitengrund */
  --paper-2: #e5dbc7;    /* zweite Fläche, etwas dunkler */
  --oak: #b98b55;        /* Eiche, nur als Fläche hinter Fotos */
  --walnut: #2a2018;     /* Nussbaum: Text und dunkle Flächen */
  --ink: #2a2018;
  --ink-soft: #6b5b49;
  --line: rgba(42, 32, 24, .22);
  --roetel: #a5402a;     /* einzige Akzentfarbe: Rötelstift */

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --gap: clamp(1rem, 2vw, 2rem);
  --sec: clamp(5.5rem, 11vw, 11rem);
  --r: 3px;
  --ease: cubic-bezier(.25, .9, .3, 1);
  --ph-bg: #cdbfa6;
  --focus: var(--roetel);
  --select-bg: var(--roetel); --select-fg: var(--paper);
  --clip-from: 0 100% 0 0; --clip-dur: 1.6s;

  --el-bg: #2a2018; --el-fg: #efe7d8; --el-muted: rgba(239, 231, 216, .64); --el-line: rgba(239, 231, 216, .2);
  --el-accent: #efe7d8; --el-accent-fg: #2a2018; --el-radius: 6px; --el-font: var(--sans);
}

html { scrollbar-color: #c4b59b var(--paper); }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; }

.wrap { padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* --- Schriftstufen --- */
.label { font-size: .75rem; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.note { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--roetel); font-size: 1.0625rem; line-height: 1.3; }
.d-xl { font-family: var(--serif); font-weight: 380; font-size: clamp(2.75rem, 6.3vw, 6.4rem); line-height: 1; letter-spacing: -.022em; }
.d-l { font-family: var(--serif); font-weight: 380; font-size: clamp(2.2rem, 4.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.018em; }
.d-m { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.7vw, 2.6rem); line-height: 1.16; letter-spacing: -.01em; }
.d-s { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.2; letter-spacing: -.005em; }
em { font-style: italic; }
.d-xl em, .d-l em { color: var(--roetel); font-weight: 400; }

.btn { display: inline-flex; align-items: center; gap: .8rem; min-height: 3.5rem; padding: 0 1.6rem; background: var(--ink); color: var(--paper); border-radius: var(--r); font-weight: 500; font-size: .9375rem; transition: background-color .3s ease, transform .2s var(--ease); }
@media (hover: hover) { .btn:hover { background: var(--roetel); } }
.btn:active { transform: scale(.975); }
.txt { font-weight: 500; font-size: .9375rem; padding-block: .9rem; border-bottom: 1px solid var(--ink); padding-bottom: .15rem; transition: color .3s ease, border-color .3s ease; }
@media (hover: hover) { .txt:hover { color: var(--roetel); border-color: var(--roetel); } }

/* --- Zollstock: wiederkehrendes Motiv --- */
.ruler { display: flex; height: 2.25rem; overflow: hidden; border-block: 1px solid var(--ink); color: var(--ink); }
.ruler span { flex: none; width: 5rem; padding: .95rem 0 0 .3rem; font-size: .625rem; font-weight: 600; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  background-image: linear-gradient(to right, currentColor 1px, transparent 1px), linear-gradient(to right, currentColor 1px, transparent 1px), linear-gradient(to right, currentColor 1px, transparent 1px);
  background-size: 5rem 1.1rem, 2.5rem .7rem, .5rem .4rem; background-repeat: repeat-x; background-position: 0 0; }
.ruler span:nth-child(10n+1) { color: var(--roetel); }
.ruler { position: relative; }
.js .ruler[data-reveal] { opacity: 1; transform: none; }
.js .ruler[data-reveal]::after { content: ""; position: absolute; inset: 0; background: var(--paper); transition: transform 2.4s var(--ease) .3s; }
.js .ruler[data-reveal].in::after { transform: translate3d(101%, 0, 0); }

/* --- Kopfzeile --- */
.mast { position: fixed; z-index: 50; inset: 0 0 auto 0; height: 4.5rem; display: flex; align-items: center; justify-content: space-between; padding-inline: var(--pad); background: var(--paper); border-bottom: 1px solid transparent; transition: transform .6s var(--ease), border-color .3s ease; }
.scrolled .mast { border-bottom-color: var(--line); }
.nav-away .mast { transform: translate3d(0, -101%, 0); }
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: -.015em; display: inline-flex; align-items: baseline; gap: .55rem; padding-block: .6rem; }
.brand small { font-family: var(--sans); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.nav { display: none; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); font-size: .9375rem; font-weight: 500; }
.nav a:not(.btn) { padding-block: .8rem; transition: color .3s ease; }
@media (hover: hover) { .nav a:not(.btn):hover { color: var(--roetel); } }
.nav .btn { min-height: 2.75rem; padding: 0 1.15rem; }
.menu-btn { font-weight: 600; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; padding: .9rem 0 .9rem 1rem; }
.menu { position: fixed; z-index: 49; inset: 0; background: var(--paper); padding: 6.5rem var(--pad) 2rem; display: flex; flex-direction: column; justify-content: space-between; visibility: hidden; opacity: 0; transition: opacity .4s ease, visibility 0s .4s; }
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .4s ease; }
.menu ul a { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.2; padding-block: .3rem; border-bottom: 1px solid var(--line); }
.menu p { color: var(--ink-soft); font-size: .9375rem; }
@media (min-width: 960px) { .nav { display: flex; } .menu-btn, .menu { display: none; } }

/* --- Hero --- */
.hero { padding-top: 4.5rem; }
.hero-grid { row-gap: 1.75rem; padding-block: clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 5vw, 5rem); }
.hero-head { grid-column: 1 / -1; }
.hero-head .label { margin-bottom: clamp(1.25rem, 3vw, 3rem); }
.hero-h .ln > span { animation: rise 1.3s var(--ease) both; }
.hero-h .ln:nth-child(2) > span { animation-delay: .09s; }
.hero-h .ln:nth-child(3) > span { animation-delay: .18s; }
@keyframes rise { from { transform: translate3d(0, 108%, 0); } to { transform: none; } }
.hero-body { grid-column: 1 / -1; }
.hero-body > p { max-width: 40ch; font-size: 1.125rem; }
.hero-cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.hero-fig { grid-column: 1 / -1; display: grid; grid-template-columns: 2.5rem 1fr; gap: .75rem; }
.hero-ph { aspect-ratio: 5 / 6; }
.hero-ph > img { animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
.dim-v { position: relative; display: flex; align-items: center; justify-content: center; }
.dim-v::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--roetel); }
.dim-v::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 5px); width: 11px; border-block: 1px solid var(--roetel); }
.dim-v span { position: relative; writing-mode: vertical-rl; transform: rotate(180deg); background: var(--paper); padding-block: .6rem; white-space: nowrap; }
.dim-h { grid-column: 2; position: relative; height: 1.75rem; display: flex; justify-content: center; align-items: center; }
.dim-h::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--roetel); }
.dim-h::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 5px); height: 11px; border-inline: 1px solid var(--roetel); }
.dim-h span { position: relative; background: var(--paper); padding-inline: .6rem; }
@media (min-width: 960px) {
  .hero { display: flex; flex-direction: column; min-height: 100vh; }
  .hero-grid { flex: 1; grid-template-rows: 1fr auto; row-gap: 1.75rem; align-items: end; }
  .hero-head { grid-column: 1 / 8; grid-row: 1; }
  .hero-body { grid-column: 1 / 8; grid-row: 2; padding-bottom: 2.25rem; }
  .hero-fig { grid-column: 8 / 13; grid-row: 1 / 3; }
  .hero-ph { aspect-ratio: auto; height: min(64vh, 44rem); }
}

/* --- Leitsatz --- */
.creed { padding-block: var(--sec); row-gap: 2rem; }
.creed .label { grid-column: 1 / -1; }
.creed .d-l { grid-column: 1 / -1; }
.creed-p { grid-column: 1 / -1; color: var(--ink-soft); max-width: 44ch; }
@media (min-width: 960px) {
  .creed .label { grid-column: 1 / 3; padding-top: .9rem; }
  .creed .d-l { grid-column: 3 / 12; }
  .creed-p { grid-column: 3 / 8; margin-top: 1rem; }
}

/* --- Der Weg einer Treppe (Signatur) --- */
.way { position: relative; background: var(--paper-2); padding-block: var(--sec); }
.way-grid { row-gap: 2rem; align-items: start; }
.way-side { grid-column: 1 / -1; }
.way-side h2 { margin-top: 1rem; max-width: 12ch; }
.way-draw { display: none; }
.stair { width: 100%; height: auto; overflow: visible; }
.stair .ghost { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 5; opacity: .45; }
.stair .seg { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
.stair .seg.on { stroke-dashoffset: 0; }
.stair .seg.cur { stroke: var(--roetel); }
.stair .dot { fill: var(--roetel); transition: transform 1.1s var(--ease); }
.stair text { font-family: var(--sans); font-size: 10px; font-weight: 600; fill: var(--ink-soft); }
.stair .dims { opacity: 0; transition: opacity .9s ease .5s; }
.stair.done .dims { opacity: 1; }
.stair .dims line { stroke: var(--roetel); stroke-width: 1; }
.stair .dims text { fill: var(--roetel); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 12px; }
.way-count { margin-top: 1.25rem; display: flex; align-items: baseline; gap: .75rem; }
.way-count b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.way-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: .9rem; margin-inline: calc(-1 * var(--pad)); padding: .6rem var(--pad); background: var(--paper-2); border-block: 1px solid var(--line); }
.way-bar .stair { width: 3.4rem; flex: none; }
.way-bar .stair text, .way-bar .stair .dims { display: none; }
.way-bar .stair .seg { stroke-width: 5; } .way-bar .stair .ghost { stroke-width: 2.5; } .way-bar .stair .dot { display: none; }
.way-bar p { font-size: .875rem; font-weight: 500; }
.way-bar p span { color: var(--ink-soft); font-weight: 400; }
.way-steps { grid-column: 1 / -1; }
.way-step { padding-block: 2.75rem; border-bottom: 1px solid var(--line); display: grid; gap: 1.75rem; }
.way-step:last-child { border-bottom: 0; padding-bottom: 0; }
.way-no { font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--roetel); }
.way-step h3 { margin: .5rem 0 .9rem; }
.way-step p { max-width: 44ch; }
.way-step .meta { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.way-ph { aspect-ratio: 3 / 2; }
.way-ph.crop-b { aspect-ratio: 2 / 1; }
.way-ph.crop-b img { object-position: 50% 100%; }
.sketch { width: 100%; height: auto; background: var(--paper); border: 1px solid var(--line); }
.sketch .ln1 { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.sketch .ln0 { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .5; }
.sketch .hatch { fill: none; stroke: var(--ink); stroke-width: .75; opacity: .4; }
.sketch .dm { fill: none; stroke: var(--roetel); stroke-width: 1; }
.sketch text { font-family: var(--serif); font-style: italic; font-size: 15px; fill: var(--roetel); }
.sketch .cap { font-family: var(--sans); font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .1em; fill: var(--ink-soft); }
.js .sketch .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.js .in .sketch .draw, .js .sketch.in .draw { stroke-dashoffset: 0; }
@media (min-width: 960px) {
  .way-bar { display: none; }
  .way-side { grid-column: 1 / 5; position: sticky; top: 12vh; }
  .way-draw { display: block; margin-top: 2.5rem; max-width: 22rem; }
  .way-steps { grid-column: 6 / 13; }
  .way-step { padding-block: clamp(3rem, 6vw, 5.5rem); }
  .way-step:first-child { padding-top: 0; }
}

/* --- Finale: fertige Treppe randlos --- */
.finale { position: relative; height: clamp(24rem, 72vh, 60rem); color: #f6efe2; }
.finale::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 18, 11, .72) 0%, rgba(26, 18, 11, 0) 55%); pointer-events: none; }
.finale-txt { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(2rem, 5vw, 4.5rem); }
.finale-txt p { max-width: 17ch; }

@media (min-width: 960px) { .finale { height: clamp(26rem, 92vh, 60rem); } }

/* --- Treppenarten --- */
.types { padding-block: var(--sec); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.sec-head .label { grid-column: 1 / -1; }
.sec-head h2 { grid-column: 1 / -1; }
.sec-head p:not(.label) { grid-column: 1 / -1; color: var(--ink-soft); max-width: 40ch; }
.types-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem var(--gap); }
.type header { border-top: 1px solid var(--ink); padding: .8rem 0 1rem; }
.type header p { font-size: .875rem; color: var(--ink-soft); margin-top: .2rem; }
.type .ph { aspect-ratio: 3 / 4; }
.type .ph img { transition: transform 1.4s var(--ease); }
@media (hover: hover) { .type:hover .ph img { transform: scale(1.03); } }
.type:nth-child(even) { margin-top: 3rem; }
.also { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--ink); display: grid; }
.also li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .2rem 2rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.also li p { color: var(--ink-soft); }
@media (min-width: 960px) {
  .sec-head .label { grid-column: 1 / 3; padding-top: .9rem; }
  .sec-head h2 { grid-column: 3 / 10; }
  .sec-head p:not(.label) { grid-column: 3 / 8; }
  .types-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .type:nth-child(even) { margin-top: 0; }
  .type:nth-child(2) { margin-top: 3.5rem; } .type:nth-child(3) { margin-top: 7rem; } .type:nth-child(4) { margin-top: 10.5rem; }
  .also li { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; }
  .also li h3 { grid-column: 3 / 7; } .also li p { grid-column: 7 / 13; }
}

/* --- Werkverzeichnis --- */
.ledger { padding-block: var(--sec); background: var(--paper-2); }
.ledger-grid { row-gap: 2.5rem; align-items: start; }
.ledger-ph { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.ledger-tab { grid-column: 1 / -1; }
.tab { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.tab th { text-align: left; padding: 0 1rem .7rem 0; border-bottom: 1px solid var(--ink); }
.tab td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; transition: background-color .3s ease; }
.tab td:first-child { font-family: var(--serif); font-style: italic; color: var(--roetel); width: 3.5rem; }
.tab td:nth-child(2) { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.tab .hide-s { display: none; }
@media (hover: hover) { .tab tbody tr:hover td { background: rgba(42, 32, 24, .05); } }
.ledger-note { margin-top: 1.5rem; }
@media (min-width: 700px) { .tab .hide-s { display: table-cell; } }
@media (min-width: 960px) {
  .ledger-ph { grid-column: 1 / 6; aspect-ratio: 4 / 5; position: sticky; top: 12vh; }
  .ledger-tab { grid-column: 7 / 13; }
}

/* --- Werkstatt --- */
.shop { padding-top: var(--sec); }
.shop-ph { aspect-ratio: 16 / 10; margin-inline: calc(-1 * var(--pad)); }
.shop-grid { padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--sec); row-gap: 2rem; }
.shop-grid h2 { grid-column: 1 / -1; }
.shop-txt { grid-column: 1 / -1; }
.shop-txt p + p { margin-top: 1rem; color: var(--ink-soft); }
.facts { grid-column: 1 / -1; border-top: 1px solid var(--ink); align-self: start; }
.facts div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; padding-block: .85rem; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.facts dt { color: var(--ink-soft); }
@media (min-width: 960px) {
  .shop-ph { aspect-ratio: 21 / 9; }
  .shop-grid h2 { grid-column: 1 / 6; }
  .shop-txt { grid-column: 6 / 10; }
  .facts { grid-column: 10 / 13; }
  .facts div { grid-template-columns: 1fr; gap: .1rem; }
}

/* --- Stimmen --- */
.voices { padding-bottom: var(--sec); }
.voices-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); }
.voice { display: grid; gap: 1rem var(--gap); padding-block: clamp(1.75rem, 3.5vw, 3rem); border-bottom: 1px solid var(--line); }
.voice p { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.2; letter-spacing: -.01em; max-width: 30ch; }
.voice footer { font-size: .9375rem; color: var(--ink-soft); }
.voice footer b { display: block; color: var(--ink); font-weight: 600; }
@media (min-width: 960px) { .voice { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: baseline; } .voice p { grid-column: 3 / 10; } .voice footer { grid-column: 10 / 13; } }

/* --- Kontakt --- */
.contact { background: var(--paper-2); padding-block: var(--sec); row-gap: 3rem; }
.contact-intro { grid-column: 1 / -1; }
.contact-intro > p:not(.label) { margin-top: 1.5rem; max-width: 40ch; color: var(--ink-soft); }
.contact-data { margin-top: 2.25rem; display: grid; gap: 1.4rem; font-size: .9375rem; }
.contact-data dt { margin-bottom: .3rem; }
.contact-data a { border-bottom: 1px solid var(--ink); }
.form { grid-column: 1 / -1; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 3.2vw, 3rem); }
.form-head { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.form-head .label { display: block; margin-bottom: .7rem; }
.form-ruler { position: relative; height: 1.1rem; border-bottom: 1px solid var(--ink); background-image: linear-gradient(to right, var(--ink) 1px, transparent 1px), linear-gradient(to right, var(--ink) 1px, transparent 1px); background-size: 33.333% 1.1rem, 3.3333% .45rem; background-repeat: repeat-x; background-position: 0 100%; }
.form-ruler i { position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--roetel); transform-origin: left; transform: scaleX(var(--step, .33)); transition: transform .9s var(--ease); }
.form legend { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.1; letter-spacing: -.012em; margin-bottom: 1.5rem; }
.form .q { margin: .25rem 0 .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.9rem; }
.choice span { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: var(--r); font-size: .9375rem; font-weight: 500; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s var(--ease); }
@media (hover: hover) { .choice:hover span { border-color: var(--ink); } }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--roetel); outline-offset: 3px; }
.choice:active span { transform: scale(.97); }
.fields { display: grid; gap: 1.2rem var(--gap); margin-bottom: 2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .8125rem; font-weight: 600; }
.field input, .field textarea { background: #f6f0e4; border: 1px solid var(--ink-soft); border-radius: var(--r); padding: .8rem .9rem; font-size: 1.0625rem; outline: none; transition: border-color .25s ease, box-shadow .25s ease; }
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus, .field textarea:focus { border-color: var(--roetel); box-shadow: 0 0 0 1px var(--roetel); }
.form-nav { display: flex; align-items: center; gap: 1.5rem; }
.back { font-weight: 500; font-size: .9375rem; color: var(--ink-soft); padding-block: .9rem; }
@media (hover: hover) { .back:hover { color: var(--ink); } }
.form-note { margin-top: 1.25rem; font-size: .8125rem; color: var(--ink-soft); max-width: 46ch; }
.done { outline: none; }
.done p + p { margin-top: .9rem; color: var(--ink-soft); max-width: 40ch; }
@media (min-width: 700px) { .fields { grid-template-columns: 1fr 1fr; } .field.wide { grid-column: 1 / -1; } }
@media (min-width: 960px) { .contact-intro { grid-column: 1 / 6; } .form { grid-column: 7 / 13; } }

/* --- Fuß --- */
.foot { background: var(--walnut); color: #e9dfcc; padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: calc(2rem + var(--el-space, 5rem)); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; }
.foot-word { font-family: var(--serif); font-weight: 380; font-size: clamp(2.6rem, 7vw, 6.5rem); line-height: .95; letter-spacing: -.025em; }
.foot-word em { color: #d98a6c; }
.foot .label { color: #b9ab94; }
.foot-grid { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: 2rem; border-top: 1px solid rgba(233, 223, 204, .22); display: grid; gap: 2rem; font-size: .9375rem; }
.foot-grid .label { margin-bottom: .6rem; }
.foot-grid a { display: inline-block; padding-block: .3rem; border-bottom: 1px solid transparent; transition: border-color .3s ease; }
@media (hover: hover) { .foot-grid a:hover { border-color: currentColor; } }
.foot-base { margin-top: 3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .8125rem; color: #b9ab94; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .hero-h .ln > span, .hero-ph > img { animation: none; }
  .js .ruler[data-reveal]::after { display: none; }
  .stair .seg { stroke-dashoffset: 0; transition: none; }
  .js .sketch .draw { stroke-dashoffset: 0; transition: none; }
}
