/* VEERN — Grundlagen
   Schriften, Farben, Raster, Typografie.
   Keine Flächen, keine Schatten, keine Radien. */

/* VEERN Sans ist die Hausschrift. Sie liegt hier nur als Regular vor; die
   Datei wurde aus dem Schriftmuster gelöst, siehe tools/schrift.mjs. Light
   und Medium fehlen noch: kommen die Originale, hier zwei weitere Blöcke mit
   font-weight 300 und 500 ergänzen, sonst nichts ändern.

   Kleinbuchstaben sind in dieser Schrift Kapitälchen. Man schreibt also
   normal und bekommt Kapitälchen; text-transform: uppercase gibt Versalien.

   EB Garamond tragt die Sätze, wie im Muster vorgesehen. Beide Schriften
   liegen auf dem eigenen Server, Garamond aufgeteilt in Latin und Latin-ext. */

@font-face {
  font-family: 'VEERN Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/veern-sans-regular.woff') format('woff'),
       url('../fonts/veern-sans-regular.ttf') format('truetype');
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Leinen und Espresso, die beiden Farben aus dem Schriftmuster.
     Espresso auf Leinen steht bei 15,1:1, das gedämpfte Braun bei 5,2:1
     und auf dem getönten Grund noch bei 4,8:1. */
  --paper: #f3f1ec;
  --paper-tint: #eae7e1;
  --ink: #241a14;
  --muted: #6f6259;
  --espresso: #241a14;
  --line: #ddd9d2;

  /* Licht auf dem Leinen: Leinen, zu einem Drittel mit Weiß gemischt. Nur im
     Einstieg, hinter dem Objekt. */
  --light: color-mix(in srgb, var(--paper) 66%, #fff);

  --content: 1280px;
  --measure: 560px;
  --pad: 20px;
  --gap: 20px;

  /* Abstände zwischen Abschnitten und Blöcken kommen nur von hier. Die ersten
     drei Stufen verdoppeln sich; die letzte trennt die Abschnitte auf breiten
     Bildschirmen. */
  --space-s: 24px;
  --space-m: 48px;
  --space-l: 96px;
  --space-xl: 160px;

  /* Anzeige: Wortmarke, Navigation, Überschriften, Preise, Knöpfe, Labels.
     Serife: alles, was aus Sätzen besteht. */
  --display: "VEERN Sans", "Optima", "Gill Sans", system-ui, sans-serif;
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

/* Typografie ------------------------------------------------------------- */

/* Überschriften laufen in der Hausschrift, gesperrt wie im Muster: 0,08 em.
   Kleinbuchstaben werden dabei zu Kapitälchen, darum die ruhige Zeilenhöhe. */
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 1.14;
  margin: 0;
  text-wrap: balance;
}

/* Die Anzeigeschrift hat keine Kursive. Betonungen bleiben in der Serife. */
em {
  font-family: var(--serif);
  font-style: italic;
}

/* Die Überschrift wird an der Breite ihrer Spalte gemessen. So bleibt sie
   auf grossen Bildschirmen in einer Zeile und wird auf dem Handy 40 px. */
.measured {
  container-type: inline-size;
}

h1 {
  font-size: clamp(1.875rem, 7.2vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

h3 {
  font-size: 1.125rem;
  letter-spacing: 0.1em;
}

p {
  margin: 0;
}

.lede {
  font-size: 1.1875rem;
  color: var(--ink);
  max-width: var(--measure);
}

.body {
  color: var(--muted);
  max-width: var(--measure);
}

/* Labels: Versalien der Hausschrift, weit gesperrt. Das Muster nennt hierfür
   die Medium; solange nur die Regular vorliegt, tragen Größe und Sperrung
   die Wirkung. */
.label {
  font-family: var(--display);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
}

.note {
  font-family: var(--display);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}

/* Raster ----------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: calc(var(--content) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

.section {
  padding-block: var(--space-l);
}

.section--tint {
  background: var(--paper-tint);
}

.section--espresso {
  background: var(--espresso);
  color: var(--paper);
  --ink: var(--paper);
  --muted: color-mix(in srgb, var(--paper) 82%, var(--espresso));
}

section[id] {
  scroll-margin-top: 112px;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* Verweise und Schalter --------------------------------------------------- */

a {
  color: inherit;
}

.link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  text-decoration-color: var(--line);
  transition: color 0.2s ease-out, text-decoration-color 0.2s ease-out;
}

.link:hover {
  text-decoration-color: currentColor;
}

.section--espresso .link:hover {
  color: var(--paper);
  text-decoration-color: currentColor;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 0;
  background: var(--espresso);
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* Die Sperrung hängt auch hinter dem letzten Buchstaben. Links dasselbe
     Maß, damit die Schrift mittig im Feld steht. */
  padding: 18px 28px 18px calc(28px + 0.2em);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease-out;
}

.btn:hover {
  background: color-mix(in srgb, var(--espresso) 86%, var(--paper));
}

.section--espresso .btn {
  background: var(--paper);
  color: var(--espresso);
}

.section--espresso .btn:hover {
  background: var(--paper-tint);
}

:focus-visible {
  outline: 2px solid var(--espresso);
  outline-offset: 4px;
}

.section--espresso :focus-visible {
  outline-color: var(--paper);
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 12px;
  clip-path: inset(50%);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 20;
}

.skip:focus {
  clip-path: none;
}

/* Kopfleiste -------------------------------------------------------------- */

.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease-out, border-color 0.3s ease-out;
}

.masthead.is-scrolled,
.masthead.masthead--solid {
  background: var(--paper);
  border-bottom-color: var(--line);
}

/* Volle Breite. */
.masthead .wrap {
  max-width: none;
  padding-inline: 20px;
}

/* Drei Spalten: das Zeichen bleibt mittig, der Menüknopf rechts. */
.masthead__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: 22px;
  min-height: 84px;
}

.wordmark {
  grid-column: 2;
  line-height: 0;
  text-decoration: none;
  justify-self: center;
}

.wordmark img {
  display: block;
  height: 38px;
  width: auto;
}

.menu {
  grid-column: 3;
  justify-self: end;
  position: relative;
  z-index: 2;
}

.menu__toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}

.menu__toggle:hover {
  color: var(--muted);
}

.menu__panel {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  min-width: 188px;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu__panel[hidden] {
  display: none;
}

.menu__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu__nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Ink und Espresso sind dieselbe Farbe, ein Farbwechsel wäre also unsichtbar.
   Die Hervorhebung ist eine Haarlinie unter der Zeile. */
.menu__nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
  text-decoration-color: color-mix(in srgb, var(--ink) 34%, transparent);
}

.menu__nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
  text-decoration-color: var(--line);
}

.menu__lang {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu__lang a {
  color: inherit;
  text-decoration: none;
}

.menu__lang a:hover {
  color: var(--espresso);
}

.menu__lang [aria-current="true"] {
  color: var(--ink);
}

.masthead.is-menu-open {
  background: var(--paper);
  border-bottom-color: var(--line);
}

/* Einstieg ---------------------------------------------------------------- */

/* Ein Raum für die Marke. Zeichen, Name, Claim — mittig im Blick. */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 104px var(--space-m);
  background: radial-gradient(ellipse 55% 45% at 50% 40%, var(--light), var(--paper));
}

/* Soft Launch: eine Komposition, füllt den Viewport, Inhalt mittig. */
.hero--soft {
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 120px;
  justify-content: center;
}

.hero--soft .hero__text {
  gap: 12px;
  margin-top: var(--space-s);
}

.hero__mark {
  margin: 0;
  width: clamp(4.5rem, 12vw, 7rem);
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
}

.hero__figure {
  position: relative;
  width: 100%;
  margin: 0;
  padding-inline: var(--pad);
}

.viewer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: var(--pad);
  row-gap: 14px;
}

.viewer__stage {
  grid-row: 1;
  grid-column: 1 / -1;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  overflow: hidden;
  background: transparent;
}

.viewer__stage:active {
  cursor: grabbing;
}

.viewer__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: transparent;
}

.viewer__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
}

.viewer__image.is-on {
  opacity: 1;
}

.hero__note {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  padding-left: var(--pad);
  font-size: 0.625rem;
}

.viewer__bar {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: baseline;
  gap: 1.25em;
  margin: 0;
  padding-right: var(--pad);
}

.viewer__lid {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.625rem;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.viewer__lid:hover,
.viewer__lid:focus-visible {
  color: var(--espresso, #241a14);
}

.viewer__hint {
  margin: 0;
  font-size: 0.625rem;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.viewer.is-ready .viewer__hint {
  opacity: 1;
}

.viewer.is-used .viewer__hint {
  opacity: 0;
}

.viewer__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.viewer.is-busy .viewer__lid {
  pointer-events: none;
  opacity: 0.45;
}

/* Produktseite: der Viewer steht vor dem Text, wie im Raum. */
.object-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(88svh, 920px);
  padding-block: 104px var(--space-s);
  background: radial-gradient(ellipse 60% 50% at 50% 42%, var(--light), var(--paper));
}

.object-stage .viewer {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  box-sizing: border-box;
}

.object-stage .viewer__bar {
  padding-inline: var(--pad);
  justify-self: end;
}

/* Nach dem Viewer braucht die Objektseite weniger Luft oben. */
.object-stage + .page.object {
  padding-top: var(--space-m);
}

.object__copy--solo {
  max-width: var(--measure);
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: var(--space-s);
  padding-inline: var(--pad);
  text-align: center;
}

.hero__name {
  margin: 0;
  letter-spacing: 0.28em;
}

.hero h1 {
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  margin: 0;
}

.hero .link--arrow {
  margin-top: calc(var(--space-s) - 12px);
  padding-left: 2em;
}

.hero .link--arrow:hover::after {
  width: 1.4em;
}

/* Langsam, wie Licht, das angeht. */
.js .hero__image {
  opacity: 0;
  transition: opacity 1.4s ease-out;
}

.js .hero.is-ready .hero__image {
  opacity: 1;
}

.js .hero__text {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 1s ease-out 0.6s, transform 1s ease-out 0.6s;
}

.js .hero.is-ready .hero__text {
  opacity: 1;
  transform: none;
}

.eyebrow {
  display: block;
  margin-bottom: 16px;
}

/* Im Einstieg sitzt der Name dicht über dem Claim. */
.hero .eyebrow {
  margin-bottom: 0;
  color: var(--muted);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

/* Die Pfeilverweise stehen neben den Knöpfen und werden wie diese gesetzt,
   nur ohne Fläche. */
.link--arrow {
  font-family: var(--display);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-underline-offset: 0.5em;
}

/* Statt eines Pfeils eine Haarlinie, die beim Überfahren wächst. Die
   Hausschrift hat kein Pfeilzeichen, und die Linie passt ohnehin besser. */
.link--arrow::after {
  content: "";
  display: inline-block;
  width: 1.4em;
  height: 1px;
  margin-left: 0.6em;
  vertical-align: 0.3em;
  background: currentColor;
  transition: width 0.2s ease-out;
}

.link--arrow:hover::after {
  width: 1.9em;
}

/* Der Name ---------------------------------------------------------------- */

.intro {
  grid-column: 1 / -1;
  display: grid;
  gap: 28px;
}

.name__text {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  letter-spacing: 0.08em;
  line-height: 1.4;
  max-width: 640px;
}

/* Auf der Startseite ein Satz und ein Ort, auf der Achse des Einstiegs. */
.intro--still {
  justify-items: center;
  gap: var(--space-s);
  text-align: center;
}

/* Erstes Objekt: Text und Bild nebeneinander. */
.first-object {
  align-items: center;
  row-gap: var(--space-m);
}

.first-object__copy,
.first-object__figure {
  grid-column: 1 / -1;
}

.first-object__copy {
  display: grid;
  gap: 16px;
}

.first-object__copy .eyebrow {
  margin-bottom: 0;
}

.first-object__copy h2 {
  margin-bottom: 0;
}

.first-object__copy .lede {
  max-width: var(--measure);
  margin-bottom: 0;
}

.first-object__copy .price {
  margin-bottom: 0;
}

.first-object__copy .actions {
  margin-top: 8px;
}

.first-object__figure {
  margin: 0;
}

.first-object__figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: transparent;
}

/* Die Form ---------------------------------------------------------------- */

.split {
  align-items: center;
  row-gap: var(--space-m);
}

.split__figure,
.split__text {
  grid-column: 1 / -1;
}

.ratio-3-2 {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--paper-tint);
}

.ratio-4-5 {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-tint);
}

.split__text h2 {
  margin-bottom: 24px;
}

/* Die Details ------------------------------------------------------------- */

.details {
  row-gap: var(--space-m);
}

.detail {
  grid-column: 1 / -1;
}

.detail img {
  margin-bottom: 18px;
}

.detail .label {
  display: block;
  margin-bottom: 8px;
}

.detail p:last-child {
  color: var(--muted);
  font-size: 1rem;
}

.details__note {
  grid-column: 1 / -1;
  margin-top: 0;
}

/* Material ---------------------------------------------------------------- */

.material__list,
.material__figure {
  grid-column: 1 / -1;
}

.material .grid {
  row-gap: var(--space-m);
}

.material h2 {
  margin-bottom: 36px;
}

.spec {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.spec__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 20px;
  border-top: 1px solid var(--line);
  padding-block: 14px;
}

.spec dt {
  font-family: var(--display);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
}

.spec dd {
  margin: 0;
  font-size: 1rem;
}

/* Preis ------------------------------------------------------------------- */

.price {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.1em;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}

/* Warteliste -------------------------------------------------------------- */

.list__head,
.list__form {
  grid-column: 1 / -1;
}

.form-row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  max-width: var(--measure);
}

.field {
  flex: 1 1 220px;
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 10px;
}

.field input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.4;
  padding: 0 0 10px;
  appearance: none;
}

.field input::placeholder {
  color: var(--muted);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  max-width: var(--measure);
  font-size: 0.9375rem;
  color: var(--muted);
}

.consent input {
  appearance: none;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin: 5px 0 0;
  border: 1px solid var(--muted);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.consent input:checked {
  background: var(--espresso);
  border-color: var(--espresso);
}

.consent label {
  cursor: pointer;
}

/* hidden muss das display der Zeilen überstimmen */
.form-row[hidden],
.consent[hidden] {
  display: none;
}

.status {
  margin-top: 24px;
  font-size: 0.9375rem;
  max-width: var(--measure);
}

.status:empty {
  margin-top: 0;
}

.reserve {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  max-width: var(--measure);
}

.reserve p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* veern.studio — Zeichen über dem Footer ------------------------------- */

.studio-strip {
  border-top: 1px solid var(--line);
  padding-block: 12px;
  background: var(--paper-tint);
  text-align: center;
}

.studio-strip__inner {
  display: flex;
  justify-content: center;
}

.studio-strip__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.studio-strip__link:hover {
  color: var(--ink);
}

.studio-strip__line {
  margin: 0;
  font-family: var(--display);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
}

.js .studio-strip__link.reveal .studio-strip__line {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.7s ease-out 0.08s,
    transform 0.7s ease-out 0.08s;
}

.js .studio-strip__link.reveal.is-in .studio-strip__line {
  opacity: 1;
  transform: none;
}

/* Fusszeile --------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: var(--space-m);
  font-size: 0.9375rem;
}

.footer__grid {
  row-gap: 28px;
}

.footer__block {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}

.footer__block a {
  color: var(--ink);
  text-decoration: none;
}

.footer__block a:hover {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer__note {
  color: var(--muted);
}

/* Unternehmen ------------------------------------------------------------- */

.trade {
  padding-block: var(--space-m);
}

.trade__copy {
  grid-column: 1 / -1;
  max-width: var(--measure);
}

.trade__copy .body {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Innenseiten ------------------------------------------------------------- */

.page {
  padding-top: 140px;
  padding-bottom: var(--space-m);
}

.page h1 {
  font-size: clamp(1.875rem, 6.4vw, 2.5rem);
}

.section--top {
  padding-top: 0;
}

.page__head,
.prose {
  grid-column: 1 / -1;
}

.prose {
  display: grid;
  gap: 24px;
  max-width: 760px;
}

.stack {
  display: grid;
  gap: 24px;
}

/* Drei Prinzipien --------------------------------------------------------- */

.principles {
  row-gap: var(--space-m);
}

.principle {
  grid-column: 1 / -1;
}

.principle h2 {
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

/* Ein Bild über die Spalten ----------------------------------------------- */

/* Das Bild läuft über die Spalten, aber nie über seine eigene Auflösung. */
.band {
  margin-bottom: var(--space-m);
  max-width: 1152px;
  margin-inline: auto;
}

.band--einzeln {
  margin-bottom: 0;
  max-width: 760px;
  margin-inline: auto;
}

.band figcaption,
.detail figcaption,
.split__figure figcaption,
.group__figure figcaption,
.object__figure figcaption,
.material__figure figcaption {
  margin-top: 12px;
}

.price--mid {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 4px;
}

/* Übersicht der Objekte --------------------------------------------------- */

.group {
  row-gap: 32px;
  padding-bottom: var(--space-l);
}

.group:last-child {
  padding-bottom: 0;
}

.group__figure,
.group__list {
  grid-column: 1 / -1;
}

.group__title {
  margin-bottom: 10px;
}

.index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.index__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 20px;
  text-decoration: none;
  transition: color 0.2s ease-out;
}

.index__link:hover .index__name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  text-decoration-color: color-mix(in srgb, var(--ink) 34%, transparent);
}

.index__name {
  font-family: var(--display);
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.index__note {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--muted);
}

.index__price {
  font-family: var(--display);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}

/* Ein Objekt -------------------------------------------------------------- */

.object__copy,
.object__figure,
.belongs {
  grid-column: 1 / -1;
}

.object__copy {
  display: grid;
  gap: 32px;
}

.object__figure {
  margin-top: 40px;
}

.object__head h1 {
  margin-bottom: 20px;
}

.object__head .lede {
  margin-bottom: 32px;
}

.object__head .price {
  margin-bottom: 8px;
}

.object__head .actions {
  margin-top: 32px;
}

.object__body {
  margin: 0;
  max-width: var(--measure);
}

/* Material, Pflege, Fragen ------------------------------------------------ */

.qa {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.qa__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 24px;
  border-top: 1px solid var(--line);
  padding-block: 20px;
}

.qa dt {
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.35;
}

/* Materialien und Pflege listen Begriffe. Die stehen in der Hausschrift. */
.qa--terms dt {
  font-family: var(--display);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.7;
}

.qa dd {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: var(--measure);
}

/* Abschluss --------------------------------------------------------------- */

.closing__head,
.closing__form {
  grid-column: 1 / -1;
}

.closing__head {
  margin-bottom: var(--space-m);
}

.closing__note {
  margin-top: 32px;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: var(--measure);
}

.section--espresso .consent input {
  border-color: color-mix(in srgb, var(--paper) 55%, var(--espresso));
}

.section--espresso .consent input:checked {
  background: var(--paper);
  border-color: var(--paper);
}

/* Rechtstexte ------------------------------------------------------------- */

.legal {
  padding-top: 164px;
  padding-bottom: 96px;
}

.legal__body {
  grid-column: 1 / -1;
  max-width: var(--measure);
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.375rem;
  margin: 48px 0 14px;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 14px;
}

.legal ul {
  padding-left: 18px;
  margin: 0 0 14px;
}

.legal .label {
  display: block;
  margin-bottom: 40px;
}

/* Bewegung --------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal.is-in,
  .js .hero__image,
  .js .hero.is-ready .hero__image,
  .js .hero__text,
  .js .hero.is-ready .hero__text,
  .viewer__hint,
  .viewer.is-ready .viewer__hint,
  .js .studio-strip__link.reveal .studio-strip__line,
  .js .studio-strip__link.reveal.is-in .studio-strip__line {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .masthead,
  .btn,
  .link,
  .link--arrow::after {
    transition: none;
  }
}

/* Breiten ---------------------------------------------------------------- */

@media (min-width: 600px) {
  :root {
    --pad: 40px;
    --gap: 24px;
  }

  .masthead .wrap {
    padding-inline: 40px;
  }

  .masthead__inner {
    padding-block: 26px;
    min-height: 96px;
  }

  .wordmark img {
    height: 44px;
  }

  .detail {
    grid-column: span 6;
  }

  .page {
    padding-top: 164px;
  }

  .principle {
    grid-column: span 6;
  }
}

@media (min-width: 900px) {
  body {
    font-size: 1.125rem;
  }

  .section {
    padding-block: var(--space-xl);
  }

  .hero {
    padding-block: 128px var(--space-m);
  }

  .hero--soft {
    padding-block: 140px;
  }

  .hero__mark {
    width: clamp(5.5rem, 8vw, 8rem);
  }

  .page {
    padding-top: 192px;
    padding-bottom: var(--space-l);
  }

  .intro {
    grid-column: 3 / span 8;
    gap: 32px;
  }

  .prose {
    grid-column: 3 / span 8;
  }

  .principles {
    row-gap: 0;
  }

  .principle {
    grid-column: span 4;
  }

  .band {
    margin-bottom: var(--space-l);
  }

  .qa__row {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  /* Fragen sind zu lang für eine schmale Spalte: Antwort darunter. */
  .qa__row--stack {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Gesperrte Versalien brauchen mehr Platz als die alten Begriffe. */
  .qa--terms .qa__row {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .group {
    row-gap: 0;
  }

  .group__figure {
    grid-column: 1 / span 4;
  }

  .group__list {
    grid-column: 6 / span 7;
  }

  .object__copy {
    grid-column: 1 / span 5;
    /* Neben dem hohen Bild sitzt der Text mittig. */
    align-self: center;
    gap: 40px;
  }

  .object__copy--solo {
    grid-column: 3 / span 8;
  }

  .object__figure {
    grid-column: 7 / span 6;
    grid-row: 1;
    margin-top: 0;
  }

  .first-object__copy {
    grid-column: 1 / span 5;
    align-self: center;
  }

  .first-object__figure {
    grid-column: 7 / span 6;
    grid-row: 1;
  }

  .object-stage {
    padding-block: 128px var(--space-m);
  }

  .object-stage .viewer {
    width: min(78vw, 1280px, calc((100svh - 220px) * 1.6));
    max-width: none;
    padding-inline: 0;
  }

  .belongs {
    grid-column: 1 / span 6;
  }

  .closing__head {
    grid-column: 1 / span 4;
    margin-bottom: 0;
  }

  .closing__form {
    grid-column: 6 / span 7;
  }

  .split__figure {
    grid-column: 1 / span 7;
  }

  .split__text {
    grid-column: 9 / span 4;
  }

  .detail {
    grid-column: span 4;
  }

  /* Zu zweit teilen sie die Reihe, damit rechts keine Lücke bleibt. */
  .detail:first-child:nth-last-child(2),
  .detail:first-child:nth-last-child(2) ~ .detail {
    grid-column: span 6;
  }

  .material .grid {
    align-items: center;
  }

  .material__list {
    grid-column: 1 / span 6;
  }

  .material__figure {
    grid-column: 8 / span 5;
  }

  .spec__row {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .list__head {
    grid-column: 1 / span 4;
  }

  .list__form {
    grid-column: 6 / span 7;
  }

  .footer__block {
    grid-column: span 4;
  }

  .footer__block--end {
    align-items: flex-end;
    text-align: right;
  }

  .footer__block--end .footer__links {
    justify-content: flex-end;
  }

  .legal__body {
    grid-column: 3 / span 8;
  }
}

@media (min-width: 1200px) {
  :root {
    --pad: 56px;
  }

  .masthead .wrap {
    padding-inline: 56px;
  }

  .masthead__inner {
    padding-block: 30px;
    min-height: 104px;
  }

  .wordmark img {
    height: 48px;
  }
}
