@font-face {
  font-family: Baskervville;
  src: url('/assets/fonts/baskervville.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Baskervville;
  src: url('/assets/fonts/baskervville-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #111a30;
  --deep: #0c1428;
  --mid: #1e2a49;
  --gold: #e5b973;
  --light: #f6e9cd;
  --soft: #c6c4c2;
  --muted: #a7adc0;
  --thread: #a47e4a;
  --hair: #646578;
  --edge: clamp(24px, 5.5vw, 98px);
  --rail: clamp(9px, 2.65vw, 52px);
  --serif: Baskervville, Georgia, serif;
  --plain: 'Segoe UI', Arial, sans-serif;
  scrollbar-color: #8e7855 #111a30;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  background-color: var(--night);
  background-image: url('seide.svg');
  color: var(--light);
  font-family: var(--plain);
  font-size: 16px;
  line-height: 1.53;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
input,
select,
summary {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #ffdc95;
  outline-offset: 4px;
}
::selection {
  background: #e5b973;
  color: #101a30;
}
.symboltafel {
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
}
.icon {
  width: 21px;
  height: 21px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.5;
}
.skip {
  position: fixed;
  left: 12px;
  top: 10px;
  transform: translateY(-180%);
  padding: 12px 18px;
  background: var(--gold);
  color: var(--deep);
  z-index: 99;
}
.skip:focus {
  transform: none;
}
.mast {
  min-height: 79px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 90px);
  padding: 0 var(--edge);
  border-bottom: 1px solid #9c8a6d63;
  background: #10182c;
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.035em;
  line-height: 1;
}
.mark {
  display: inline-block;
  width: 40px;
  height: 32px;
  background: var(--gold);
  mask: url('/assets/wulfgrat.svg') center/contain no-repeat;
}
.menue,
.lang {
  display: flex;
  align-items: center;
}
.menue {
  margin-left: auto;
  gap: 36px;
}
.menue a,
.mobilmenue a {
  font-size: 15px;
}
.menue a,
.lang a,
.mobilmenue a {
  padding: 10px 1px;
}
.menue a:hover,
.lang a:hover,
.mobilmenue a:hover,
.textlink:hover {
  color: #ffdaa3;
}
.lang {
  gap: 14px;
  border-left: 1px solid #8c806b77;
  padding-left: 28px;
}
.lang a {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.lang a[aria-current] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.mobilmenue {
  display: none;
}
.silk {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.silk::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: var(--rail);
  width: 2px;
  background: repeating-linear-gradient(155deg, #e1bb7b 0 2px, #977446 2px 4px, #6f5639 4px 5px);
  box-shadow: 1px 0 #080d1d;
  pointer-events: none;
}
.hero {
  min-height: clamp(585px, 75svh, 800px);
  padding: clamp(72px, 8vh, 118px) var(--edge) clamp(58px, 7vw, 110px);
  display: grid;
  grid-template-columns: minmax(260px, 0.77fr) minmax(0, 1.5fr);
  column-gap: clamp(28px, 4vw, 80px);
  align-items: center;
  position: relative;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero-copy::before,
.chapter-title::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border: 2px solid var(--night);
  outline: 1px solid var(--thread);
  transform: rotate(45deg);
  position: absolute;
  left: calc(var(--rail) - var(--edge) - 4px);
  top: 20px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
.hero h1 {
  font-size: clamp(65px, 6.5vw, 110px);
  line-height: 0.99;
  letter-spacing: -0.038em;
}
.hero h1 span,
.hero h1 em {
  display: block;
  white-space: nowrap;
}
.hero h1 span {
  font-variant: small-caps;
}
.hero h1 em {
  color: var(--gold);
  font-size: 1.07em;
  margin-top: 0.025em;
  font-weight: 400;
}
.hero-copy p {
  max-width: 33ch;
  margin: 30px 0 28px;
  font-size: clamp(16px, 1.38vw, 21px);
  color: #e0dcd4;
  line-height: 1.49;
}
.button-gold {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 1.8vw, 32px);
  padding: 15px 21px;
  min-height: 53px;
  background: #edc98c;
  color: #192032;
  font-weight: 650;
  font-size: 15px;
  box-shadow: inset 0 0 0 1px #f9e2b8;
  transition: background 0.18s;
}
.button-gold:hover {
  background: #ffdeb0;
}
.button-gold .icon {
  width: 19px;
  height: 19px;
}
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: #ad8a59;
  text-underline-offset: 5px;
}
.textlink .icon {
  width: 16px;
}
.hero-try {
  display: flex;
  width: max-content;
  margin-top: 8px;
  color: var(--soft);
}
.hero-loom {
  --cut: 25%;
  position: relative;
  min-width: 0;
  padding: 0;
  align-self: center;
}
.selvedge {
  height: 23px;
  border-top: 1px solid #d6ac70;
  border-bottom: 1px solid #ad8c5f;
  background: #172039 url('saum.svg') center repeat-x;
  background-size: 57px 20px;
}
.brokat {
  position: relative;
  isolation: isolate;
  background-color: #15203b;
  aspect-ratio: 1440/760;
}
.brokat img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.brokat .gold-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 var(--cut) 0);
}
.shuttle {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  height: 2px;
  top: calc(100% - var(--cut));
  background: linear-gradient(90deg, #987347, #f1c984 48%, #85663d);
  box-shadow: 0 2px 2px #04081970;
}
.shuttle::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -3px;
  width: 13px;
  height: 7px;
  background: #d6a760;
  clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 100%);
}
.fringe {
  height: 12px;
  border-top: 3px double #b29661;
  background: repeating-linear-gradient(
    90deg,
    #a7977644 0 1px,
    transparent 1px 3px,
    #655f613d 3px 4px,
    transparent 4px 6px
  );
  clip-path: polygon(0 0, 100% 0, 100% 70%, 79% 100%, 62% 68%, 28% 96%, 0 65%);
}
.hero-loom figcaption {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 13px;
}
.hero-loom figcaption > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-loom figcaption strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-loom figcaption span,
.rowcount {
  font-size: 12px;
  color: var(--muted);
}
.rowcount {
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  white-space: nowrap;
}
.rowcount b {
  font-weight: 500;
  color: var(--gold);
}
.art-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--gold);
  border: 1px solid #72674e;
}
.art-link:hover {
  background: #293149;
}
@media (min-width: 1650px) {
  .hero {
    column-gap: 80px;
    grid-template-columns: minmax(340px, 0.76fr) minmax(0, 1.4fr);
  }
}
@media (max-width: 1000px) {
  .hero {
    column-gap: 23px;
    grid-template-columns: minmax(225px, 0.85fr) minmax(0, 1.35fr);
  }
  .hero h1 {
    font-size: clamp(56px, 7.1vw, 80px);
  }
  .hero-loom figcaption > div {
    display: block;
  }
  .hero-loom figcaption span {
    display: block;
  }
  .menue {
    gap: 22px;
  }
}
@media (max-width: 740px) {
  :root {
    --edge: 26px;
    --rail: 10px;
  }
  .mast {
    min-height: 58px;
    justify-content: space-between;
    padding-right: 16px;
  }
  .brand {
    gap: 8px;
    font-size: 26px;
  }
  .mark {
    width: 32px;
    height: 24px;
  }
  .mast > .menue,
  .mast > .lang {
    display: none;
  }
  .mobilmenue {
    display: block;
  }
  .mobilmenue summary {
    list-style: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--gold);
    cursor: pointer;
  }
  .mobilmenue summary::-webkit-details-marker {
    display: none;
  }
  .mobilmenue nav {
    position: absolute;
    right: 12px;
    top: 100%;
    display: grid;
    min-width: 170px;
    padding: 12px 18px;
    border: 1px solid var(--thread);
    background: #18243e;
  }
  .mobilmenue nav div {
    display: flex;
    gap: 18px;
    border-top: 1px solid #72674e;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 35px var(--edge) 34px;
    gap: 25px;
  }
  .hero-copy::before {
    top: 12px;
    width: 7px;
    height: 7px;
    left: calc(var(--rail) - var(--edge) - 3px);
  }
  .hero h1 {
    font-size: clamp(51px, 13.7vw, 76px);
    line-height: 1.02;
  }
  .hero h1 em {
    font-size: 1em;
  }
  .hero-copy p {
    max-width: 43ch;
    margin: 14px 0 17px;
    font-size: 16px;
  }
  .hero-copy .button-gold {
    min-height: 48px;
    padding: 12px 15px;
    font-size: 14px;
    gap: 19px;
  }
  .hero-try {
    font-size: 14px;
    min-height: 40px;
    margin-top: 3px;
  }
  .hero-loom {
    width: 100%;
  }
  .selvedge {
    height: 16px;
    background-size: 42px 15px;
  }
  .hero-loom figcaption {
    margin-top: 4px;
    gap: 8px;
  }
  .hero-loom figcaption strong {
    font-size: 20px;
  }
  .hero-loom figcaption span,
  .rowcount {
    font-size: 12px;
  }
  .art-link {
    width: 40px;
    height: 42px;
    margin-left: 6px;
  }
  .fringe {
    height: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-loom {
    --cut: 0% !important;
  }
  .shuttle {
    display: none;
  }
}
.chapter {
  position: relative;
  padding: clamp(60px, 6.2vw, 110px) var(--edge);
  scroll-margin-top: 14px;
}
.chapter::after {
  content: '';
  position: absolute;
  left: var(--rail);
  right: var(--edge);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, #a98958 0, #766c596e 27%, #8b806b55 100%);
}
.chapter-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  position: relative;
  margin-bottom: clamp(24px, 3vw, 46px);
}
.chapter-title::before {
  top: 0.9em;
}
.chapter h2 {
  font-size: clamp(45px, 5.1vw, 81px);
  line-height: 1.01;
  letter-spacing: -0.037em;
  text-wrap: balance;
  font-variant: small-caps;
}
.chapter h2 em {
  font-variant: normal;
  font-weight: 400;
  color: var(--gold);
}
.chapter-title > p,
.build-copy > p,
.take-copy > p,
.closing p {
  color: #d4d3d2;
  line-height: 1.58;
  font-size: clamp(16px, 1.2vw, 19px);
  max-width: 44ch;
}
.card-chapter {
  padding-top: clamp(48px, 5.3vw, 92px);
}
.punch-desk {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5.5vw, 104px);
  align-items: center;
}
.punch-card {
  color: #262332;
  background-color: #ddc592;
  background-image: repeating-linear-gradient(98deg, #f6e9d00c 0 2px, transparent 2px 5px);
  padding: clamp(24px, 2.9vw, 48px);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 23px) 0, 100% 23px, 100% 100%, 0 100%);
  color-scheme: light;
}
.punch-card::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 5px;
  background: radial-gradient(ellipse, #293048 2px, transparent 2.4px) center top/5px 14px repeat-y;
}
.card-head,
.card-foot,
.mini-mast,
.mini-index,
.sample-label,
.inspect-tools,
.feature-legend,
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.card-head {
  font-family: var(--serif);
  font-size: clamp(19px, 1.55vw, 24px);
  padding-bottom: 13px;
  border-bottom: 1.5px solid #61563e;
}
.card-form,
.ordinal,
.punch-dots,
.lang,
.rowcount {
  font-variant-numeric: tabular-nums;
}
.card-form {
  font-family: var(--plain);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.paper-row {
  display: block;
  margin: 0;
  padding: 16px 0 0;
  border: 0;
}
.paper-row > label,
.paper-row legend {
  display: block;
  font-weight: 650;
  font-size: 15px;
  margin: 0 0 6px;
  padding: 0;
}
.paper-row legend {
  float: left;
  width: 100%;
  padding-top: 16px;
}
.paper-row legend + .goal-choices {
  clear: both;
}
.paper-row:has(legend) {
  padding-top: 0;
}
.ordinal {
  color: #594f42;
  margin-right: 4px;
}
.punch-card input[type='text'],
.punch-card select {
  width: 100%;
  height: 46px;
  background: #efddba;
  color: #282838;
  font-size: 16px;
  border: 1px solid #71634e;
  padding: 8px 10px;
  border-radius: 0;
  caret-color: #1b2942;
}
.punch-card input::placeholder {
  color: #625744;
  opacity: 1;
}
.punch-card :focus-visible {
  outline-color: #263856;
  outline-offset: 3px;
}
.goal-choices,
.proof-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.goal-choices label {
  display: block;
  position: relative;
  flex: 1;
  min-width: 70px;
}
.goal-choices input {
  width: 1px;
  height: 1px;
  opacity: 0;
  position: absolute;
}
.goal-choices span {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #71634e;
  font-size: 14px;
  cursor: pointer;
}
.goal-choices span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid currentColor;
}
.goal-choices input:focus-visible + span {
  outline: 3px solid #263856;
  outline-offset: 2px;
}
.goal-choices input:checked + span {
  color: #f7e1b4;
  background: #22334b;
  border-color: #22334b;
}
.goal-choices input:checked + span::before {
  background: currentColor;
}
.card-foot {
  margin-top: 22px;
}
.punch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #1c2b43;
  color: #f5dec0;
  border: 0;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 15px;
}
.punch-button:hover {
  background: #35465c;
}
.punch-dots {
  display: flex;
  gap: 9px;
}
.punch-dots i {
  width: 13px;
  height: 13px;
  border: 1px dashed #695c48;
  border-radius: 50%;
}
.punch-dots i.punched {
  background: var(--night);
  border: 1px solid var(--night);
  box-shadow: 0 1px #ffefd0;
}
.sample-wrap {
  min-width: 0;
}
.sample-label {
  color: var(--soft);
  font-size: 13px;
  border-bottom: 1px solid #78694e;
  padding: 0 0 11px;
  margin-bottom: 11px;
}
.sample-label span:last-child {
  color: var(--muted);
  text-align: right;
}
.sample {
  --muster: url('muster-angebot.webp');
  --tone: 1;
  background: #1c2946 url('seide.svg');
  border-top: 2px solid #baa171;
  border-bottom: 3px double #a38a62;
  position: relative;
}
.sample[data-ziel='kontakt'] {
  --muster: url('muster-kontakt.webp');
}
.sample[data-ziel='besuch'] {
  --muster: url('muster-besuch.webp');
}
.mini-mast {
  padding: 13px 22px;
  border-bottom: 1px solid #ab93684d;
  color: var(--light);
}
.mini-mast strong {
  font: 400 22px/1.2 var(--serif);
  overflow-wrap: anywhere;
}
.mini-mast > span {
  font-size: 12px;
  white-space: nowrap;
  color: var(--gold);
}
.mini-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-height: clamp(152px, 14vw, 235px);
}
.mini-art {
  grid-column: 1 / 7;
  grid-row: 1;
  background-image: var(--muster);
  background-size: cover;
  background-position: center;
  filter: contrast(var(--tone));
}
.mini-heading {
  grid-column: 7 / -1;
  grid-row: 1;
  align-self: center;
  padding: clamp(13px, 2vw, 34px);
}
.mini-heading h3 {
  font-size: clamp(27px, 3.15vw, 52px);
  line-height: 1.01;
  letter-spacing: -0.03em;
}
.sample-detail {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--gold);
}
.sample[data-ziel='kontakt'] .mini-heading {
  grid-column: 1 / 9;
}
.sample[data-ziel='kontakt'] .mini-art {
  grid-column: 9 / -1;
}
.sample[data-ziel='besuch'] .mini-heading {
  grid-column: 5 / -1;
}
.sample[data-ziel='besuch'] .mini-art {
  grid-column: 1 / 5;
  background-size: auto 100%;
}
.mini-index {
  justify-content: start;
  gap: clamp(10px, 2vw, 25px);
  padding: 10px 22px;
  border-top: 1px solid #aa997459;
  font-size: 13px;
  color: #c6c8cf;
  scroll-margin: 22vh;
}
.mini-index span:first-child {
  color: #f1c784;
}
.sample-result {
  font-size: 14px;
  line-height: 1.45;
  min-height: 2.9em;
  color: var(--soft);
  margin-top: 11px;
  max-width: 52ch;
}
.sample.weaving::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, #b39461 0 1px, #17213b 1px 4px);
  animation: webreihen 0.72s steps(32, end) forwards;
}
@keyframes webreihen {
  from {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(100% 0 0 0);
  }
}
.build-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.6fr);
  gap: clamp(32px, 5.4vw, 102px);
  align-items: center;
}
.build-copy .chapter-title,
.take-copy .chapter-title {
  margin-bottom: 16px;
}
.build-copy > p,
.take-copy > p {
  max-width: 40ch;
}
.build-copy .textlink {
  margin-top: 15px;
  color: var(--gold);
}
.stage-study {
  align-self: center;
  min-width: 0;
}
.stage-panels {
  display: grid;
  grid-template-columns: 0.92fr 1fr 1.12fr;
  gap: 2px;
  padding: 8px;
  border-top: 2px solid #b49a69;
  border-bottom: 2px solid #b49a69;
  background: #7b684a;
}
.stage-panel {
  border: 0;
  padding: 0;
  background: #141f38;
  color: var(--soft);
  min-width: 0;
  text-align: left;
  position: relative;
}
.stage-panel img {
  display: block;
  width: 100%;
  height: clamp(164px, 17vw, 280px);
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.68;
}
.stage-panel[aria-pressed='true'] img,
.stage-panel:hover img {
  opacity: 1;
}
.stage-panel span {
  display: block;
  padding: 10px 12px;
  min-height: 44px;
  line-height: 24px;
  font: 400 clamp(19px, 1.7vw, 28px)/1.2 var(--serif);
}
.stage-panel[aria-pressed='true'] span {
  background: #3b3b3e;
  color: #f7d9a3;
}
.stage-panel:focus-visible {
  z-index: 1;
  outline-offset: -4px;
}
.stage-study figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--soft);
}
.proof-chapter .chapter-title > p {
  max-width: 45ch;
}
.inspector {
  border-top: 1px solid #ac956d;
}
.inspection-strip {
  position: relative;
  isolation: isolate;
  min-height: clamp(125px, 14vw, 200px);
  background: #17233d;
  overflow: hidden;
}
.fabric-proof,
.thread-lens::before {
  position: absolute;
  inset: 0;
  background-image: var(--chosen-pattern, url('muster-angebot.webp'));
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: contrast(var(--contrast, 1)) brightness(var(--brightness, 1));
}
.thread-lens {
  position: absolute;
  right: 18%;
  top: 50%;
  transform: translateY(-50%);
  height: 84%;
  aspect-ratio: 1;
  border: 3px double #e5c994;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 14px #0007;
}
.thread-lens::before {
  content: '';
  background-size: var(--lens-size, auto 425%);
  background-position: var(--lens-position, center);
}
.inspection-strip[data-ton='ruhig'] {
  --contrast: 0.77;
  --brightness: 0.83;
}
.inspection-strip[data-ton='kraeftig'] {
  --contrast: 1.42;
  --brightness: 1.22;
}
.inspect-tools {
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #827350;
}
.inspect-tools h3 {
  font-size: 28px;
  line-height: 1.15;
}
.inspect-tools p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--soft);
}
.inspect-tools fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.inspect-tools legend {
  font-size: 13px;
  color: var(--muted);
  padding: 0 0 6px;
}
.proof-choices button {
  min-height: 44px;
  margin: 0;
  padding: 8px 15px;
  border: 1px solid #8a795a;
  background: transparent;
  color: var(--light);
  font-size: 14px;
}
.proof-choices button[aria-pressed='true'] {
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
}
.take-chapter {
  display: grid;
  grid-template-columns: 1.22fr 0.9fr;
  align-items: center;
  gap: clamp(42px, 8vw, 145px);
}
.wolf-cloth {
  position: relative;
}
.wolf-fabric {
  position: relative;
  background: #14203a url('seide.svg');
}
.wolf-fabric img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: inset(0 0 var(--wolf-cut, 0%) 0);
}
.wolf-cloth .fringe {
  height: 26px;
  background-size: auto;
}
.take-chapter .chapter-title::before {
  display: none;
}
.handover-seam {
  display: block;
  margin-top: 23px;
  padding-top: 12px;
  border-top: 1px solid #8b7754;
  font-size: 14px;
  color: var(--gold);
}
.catalog-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
}
.guest-photo {
  position: relative;
  border-top: 2px solid #bea06b;
  border-bottom: 4px double #b99a64;
}
.guest-photo img {
  width: 100%;
  height: clamp(215px, 19vw, 320px);
  display: block;
  object-fit: cover;
  object-position: 50% 56%;
}
.feature-sample:hover h3,
.project[href]:hover h3 {
  color: var(--gold);
}
.feature-legend {
  align-items: start;
  margin-top: 12px;
}
.feature-legend h3 {
  font-size: clamp(27px, 2.8vw, 45px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.feature-legend p,
.project span {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.4;
}
.feature-legend .icon {
  margin-top: 6px;
  color: var(--gold);
}
.project-register {
  border-top: 1px solid #897958;
}
.project {
  display: grid;
  align-items: center;
  grid-template-columns: clamp(65px, 6vw, 100px) 1fr 22px;
  gap: clamp(13px, 1.6vw, 26px);
  padding: 11px 0;
  border-bottom: 1px solid #87775b85;
}
.project img,
.empty-weave {
  width: 100%;
  height: clamp(48px, 4.8vw, 74px);
  display: block;
  object-fit: cover;
}
.project h3 {
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.project .icon {
  color: var(--gold);
  width: 17px;
}
.future {
  color: #ccc6b8;
}
.empty-weave {
  background-color: #1c2742;
  background-image: repeating-linear-gradient(90deg, #59617a80 0 1px, transparent 1px 4px);
  border-block: 1px dashed #98835e;
}
.closing {
  padding-top: clamp(66px, 8vw, 130px);
  padding-bottom: clamp(66px, 8vw, 130px);
  display: grid;
  grid-template-columns: 1.23fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.closing .chapter-title {
  display: block;
  margin: 0;
}
.closing .chapter-title p {
  margin-top: 18px;
  max-width: 43ch;
}
.closing h2 {
  font-size: clamp(55px, 6.2vw, 98px);
}
.close-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}
.close-actions .textlink {
  color: var(--gold);
}
.foot {
  position: relative;
  padding: 23px max(var(--edge), 106px) 30px var(--edge);
  border-top: 1px solid #8b785b66;
  background: #10182c;
}
.foot .brand {
  font-size: 24px;
}
.foot .mark {
  width: 28px;
  height: 24px;
}
.foot nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 23px;
}
.foot nav a {
  font-size: 14px;
  color: var(--soft);
  padding: 8px 0;
}
.foot nav a:hover {
  text-decoration: underline;
}
.wg-wolf {
  --wg-gross: 52px;
  right: 12px;
  bottom: 12px;
  font-family: var(--plain);
}
.wg-wolf .wg-knopf {
  box-shadow:
    0 6px 14px #0006,
    inset 0 0 0 1px #c9ac7e72;
}
.wg-wolf .wg-reihe,
.wg-wolf.lugt:not(.offen):not(.spricht) .wg-reihe:not(:hover):not(:focus-within) {
  translate: 0 0;
}
.wg-wolf .wg-hoch,
.wg-wolf .wg-blase {
  display: none;
}
.wg-wolf .wg-feld {
  background: #17223c;
  color: #f7eaca;
  border: 1px solid #aa8d60;
  --wg-ink: #f3e5c9;
  --wg-amber: #f1c587;
  --wg-line: #766f64;
  --wg-gold: #e9c489;
}
.wg-feld .wg-bogen {
  color: #17223c;
}
.wg-feld .wg-hinweis,
.wg-wolf .wg-wahl small {
  color: #d2d1cf;
}
.wg-feld-kopf em {
  font-family: var(--serif);
}
.wg-wolf .wg-zu:hover,
.wg-wolf .wg-wahl button:hover {
  background: #26314a;
}
@media (max-width: 1000px) {
  .punch-desk {
    grid-template-columns: minmax(290px, 0.94fr) minmax(0, 1fr);
    gap: 27px;
  }
  .build-layout {
    grid-template-columns: minmax(210px, 0.78fr) minmax(0, 1.15fr);
  }
  .mini-mast,
  .mini-index {
    padding-inline: 13px;
  }
  .goal-choices span {
    font-size: 13px;
  }
  .card-head {
    font-size: 18px;
  }
  .foot {
    align-items: flex-start;
  }
}
@media (max-width: 740px) {
  :root {
    --clear: 52px;
  }
  .chapter {
    padding: 40px var(--edge);
  }
  .chapter::after {
    right: var(--edge);
  }
  .chapter-title {
    display: block;
    margin-bottom: 20px;
  }
  .chapter-title::before {
    top: 13px;
    width: 7px;
    height: 7px;
    left: calc(var(--rail) - var(--edge) - 3px);
  }
  .chapter h2 {
    font-size: clamp(39px, 10vw, 62px);
    line-height: 1.04;
  }
  .chapter-title > h2,
  .chapter-title > p,
  .hero-copy p,
  .build-copy > p,
  .take-copy > p {
    margin-right: calc(var(--clear) - var(--edge));
  }
  .chapter-title > p {
    margin-top: 13px;
    font-size: 16px;
  }
  .chapter-title > p,
  .build-copy > p,
  .take-copy > p {
    max-width: 50ch;
  }
  .punch-desk,
  .build-layout,
  .take-chapter,
  .catalog-spread,
  .closing {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }
  .punch-desk {
    gap: 19px;
  }
  .punch-card {
    padding: 22px max(22px, calc(var(--clear) - var(--edge) + 8px)) 22px 23px;
  }
  .card-head {
    font-size: 18px;
  }
  .card-form {
    font-size: 12px;
  }
  .paper-row {
    padding-top: 12px;
  }
  .paper-row legend {
    padding-top: 12px;
  }
  .paper-row > label,
  .paper-row legend {
    font-size: 14px;
  }
  .goal-choices {
    gap: 4px;
  }
  .goal-choices label {
    min-width: 58px;
  }
  .goal-choices span {
    gap: 5px;
    font-size: 13px;
  }
  .card-foot {
    margin-top: 18px;
  }
  .punch-dots {
    gap: 7px;
  }
  .punch-dots i {
    width: 10px;
    height: 10px;
  }
  .sample-label,
  .mini-mast,
  .sample-result,
  .stage-study figcaption,
  .inspect-tools,
  .feature-legend,
  .project,
  .close-actions,
  .foot {
    padding-right: calc(var(--clear) - var(--edge) + 4px);
  }
  .sample-label {
    gap: 8px;
  }
  .sample-label span {
    font-size: 12px;
  }
  .mini-heading {
    padding: 15px 9px 15px 12px;
  }
  .mini-heading h3 {
    font-size: clamp(26px, 7vw, 38px);
  }
  .sample-detail {
    font-size: 13px;
    line-height: 1.35;
  }
  .mini-body {
    min-height: 150px;
  }
  .mini-index {
    padding: 10px 12px;
    font-size: 12px;
  }
  .mini-mast strong {
    font-size: 21px;
  }
  .sample-result {
    font-size: 14px;
    margin-top: 8px;
    min-height: 0;
  }
  .build-layout {
    gap: 21px;
  }
  .build-copy br {
    display: none;
  }
  .build-copy .chapter-title,
  .take-copy .chapter-title {
    margin-bottom: 12px;
  }
  .build-copy .textlink {
    margin-top: 6px;
  }
  .stage-panel img {
    height: clamp(119px, 28vw, 190px);
  }
  .stage-panel span {
    font-size: 17px;
    padding: 9px 8px;
  }
  .stage-study {
    width: 100%;
  }
  .stage-study figcaption {
    margin-top: 8px;
  }
  .inspector {
    margin-top: 0;
  }
  .inspection-strip {
    min-height: 105px;
  }
  .thread-lens {
    right: 17%;
  }
  .inspect-tools {
    display: block;
  }
  .inspect-tools fieldset {
    margin-top: 14px;
  }
  .proof-choices {
    gap: 5px;
  }
  .proof-choices button {
    font-size: 14px;
    padding-inline: 12px;
  }
  .inspect-tools h3 {
    font-size: 24px;
  }
  .take-chapter {
    gap: 17px;
  }
  .take-copy {
    order: -1;
  }
  .take-chapter .chapter-title::before {
    display: block;
  }
  .handover-seam {
    margin-top: 12px;
    padding-top: 7px;
  }
  .wolf-cloth .fringe {
    height: 17px;
  }
  .catalog-spread {
    gap: 24px;
  }
  .guest-photo img {
    height: 190px;
  }
  .feature-legend {
    margin-top: 10px;
  }
  .feature-legend h3 {
    font-size: 27px;
  }
  .feature-legend p,
  .project span {
    font-size: 14px;
  }
  .project {
    grid-template-columns: 59px 1fr 15px;
    gap: 12px;
    padding-block: 10px;
  }
  .project img,
  .empty-weave {
    height: 46px;
  }
  .project h3 {
    font-size: 23px;
  }
  .closing {
    gap: 19px;
  }
  .closing h2 {
    font-size: clamp(46px, 12vw, 68px);
  }
  .close-actions {
    gap: 4px;
  }
  .foot {
    display: block;
    padding-left: var(--edge);
    padding-right: var(--clear);
    padding-bottom: 24px;
  }
  .foot nav {
    margin-top: 12px;
    gap: 2px 16px;
  }
  .foot nav a {
    font-size: 13px;
  }
  .wg-wolf {
    --wg-gross: 44px;
    right: 4px;
    bottom: 8px;
  }
  .hero-loom figcaption {
    padding-right: calc(var(--clear) - var(--edge));
  }
  .mobile-safe {
    padding-right: var(--clear);
  }
}
@media (max-width: 350px) {
  .card-head {
    font-size: 16px;
  }
  .card-form {
    font-size: 12px;
  }
  .punch-card {
    padding-inline: 17px 28px;
  }
  .goal-choices span::before {
    display: none;
  }
  .goal-choices label {
    min-width: 49px;
  }
  .punch-button {
    padding-inline: 12px;
    gap: 8px;
  }
  .sample-label {
    display: block;
  }
  .sample-label span:last-child {
    margin-left: 8px;
  }
  .mini-mast {
    gap: 6px;
  }
  .mini-mast > span {
    white-space: normal;
  }
  .mini-heading h3 {
    font-size: 23px;
  }

  .project {
    gap: 8px;
    grid-template-columns: 48px 1fr 14px;
  }
  .foot nav {
    gap: 2px 12px;
  }
  .stage-panel span {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sample.weaving::after {
    display: none;
  }
  .wolf-fabric img {
    clip-path: none;
  }
}

/* Die Webbahn spannt auf großen Bildschirmen Angebot und Gipfel über denselben Rahmen. */
@font-face {
  font-family: 'Noto Sans';
  src: url('NotoSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  src: url('NotoSans-Bold.ttf') format('truetype');
  font-weight: 600 900;
  font-display: swap;
}
:root {
  --plain: 'Noto Sans', sans-serif;
}
.hero h1 em,
.chapter h2 em {
  font-style: normal;
  font-variant: small-caps;
}
.hero h1 span,
.hero h1 em {
  mask-image: repeating-linear-gradient(0deg, #000 0 4px, #000c 4.2px 4.9px, #000 5.1px);
}
@media (min-width: 741px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0;
    min-height: 0;
    padding: clamp(17px, 2vw, 32px) var(--rail) clamp(17px, 1.7vw, 29px);
  }
  .hero-loom,
  .hero-copy {
    grid-area: 1/1;
  }
  .hero-loom {
    width: 100%;
  }
  .hero-copy {
    width: 37%;
    align-self: center;
    margin: 0 0 clamp(35px, 3.3vw, 58px) clamp(23px, 3.5vw, 66px);
  }
  .hero-copy::before {
    display: none;
  }
  .hero h1 {
    font-size: clamp(52px, 5.8vw, 100px);
    line-height: 0.97;
    letter-spacing: -0.032em;
  }
  .hero h1 em {
    font-size: 1.03em;
    letter-spacing: -0.025em;
    margin-top: 0.035em;
  }
  .hero-copy p {
    font-size: clamp(15px, 1.25vw, 21px);
    line-height: 1.46;
    max-width: 31ch;
    margin: clamp(12px, 1.3vw, 24px) 0 clamp(15px, 1.4vw, 27px);
  }
  .hero-try {
    margin-top: 3px;
  }
  .hero-loom .selvedge {
    height: 18px;
    background-size: 51px 16px;
  }
  .brokat {
    aspect-ratio: auto;
    height: clamp(337px, 32vw, 590px);
    background-color: #17213c;
    background-image: url('seide.svg');
  }
  .brokat::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(105deg, transparent, #10182da6 37%, transparent 66%),
      url('muster-kontakt.webp') 5% center/auto 90% repeat-x;
    opacity: 0.09;
  }
  .brokat .sketch-layer,
  .brokat .gold-layer {
    position: absolute;
    inset: 0 0 0 auto;
    width: 68%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    mask-image: linear-gradient(90deg, transparent 0%, #0006 3%, #000 12%);
  }
  .brokat .shuttle {
    left: 37%;
    right: 0;
    background: linear-gradient(90deg, transparent, #987347 5%, #f1c984 55%, #85663d);
  }
  .hero-loom figcaption {
    padding-inline: clamp(23px, 3.5vw, 66px) clamp(32px, 3vw, 65px);
    margin-top: 5px;
    min-height: 44px;
  }
  .hero-loom figcaption > div {
    display: flex;
  }
  .hero-loom figcaption strong {
    font-size: clamp(22px, 1.8vw, 30px);
  }
  .hero-loom figcaption span,
  .rowcount {
    font-size: 13px;
  }
  .hero-loom .fringe {
    height: 9px;
  }
}
@media (min-width: 741px) and (max-width: 1000px) {
  .hero-copy {
    width: 40%;
    margin-left: 22px;
  }
  .hero h1 {
    font-size: clamp(49px, 6.3vw, 64px);
  }
  .hero-copy .button-gold {
    font-size: 13px;
    min-height: 46px;
    padding: 11px 14px;
    gap: 10px;
  }
  .hero-copy p {
    margin: 11px 0 13px;
  }
  .hero-try {
    min-height: 38px;
    font-size: 13px;
  }
  .brokat .shuttle {
    left: 42%;
  }
  .hero-loom figcaption > div {
    gap: 10px;
  }
}
@media (max-width: 740px) {
  .hero h1 {
    letter-spacing: -0.035em;
  }
  .hero h1 em {
    font-size: 1.03em;
    margin-top: 0;
  }
  .hero-copy .button-gold {
    font-weight: 700;
  }
}

.project img.frs-mark,
.project img.shatterdesk-mark {
  object-fit: contain;
}
.pdf-sprachen {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}
.pdf-sprachen a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Der Hinweis gehört zur Webkante. Das Beispiel lässt den Rückweg zur Hauptseite immer offen. */
.weg-hinweis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 20px;
  margin: 0;
  padding: 5px var(--edge);
  border-block: 1px solid #867651;
  background: #1d2940;
  color: var(--light);
  font: 400 14px/1.45 var(--plain);
}
.weg-hinweis a {
  display: inline-flex;
  gap: .45em;
  align-items: center;
  min-height: 36px;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 740px) {
  .weg-hinweis { align-items: start; flex-direction: column; padding-block: 8px 2px; }
  .weg-hinweis a { min-height: 40px; }
}
