/* ─────────────────────────────────────────────────────────────────
   naturknoten · editorial cottagecore boho
   Fraunces (display) · Manrope (body) · DM Mono (eyebrow)
   ───────────────────────────────────────────────────────────────── */

:root {
  --paper:        #F4ECDF;
  --paper-warm:   #ECE0CC;
  --paper-deep:   #E5D6BD;
  --ink:          #2A1F18;
  --ink-soft:     #6B5C4D;
  --ink-faded:    #A89684;
  --clay:         #C76948;
  --clay-deep:    #9C4F33;
  --blush:        #E5C0A9;
  --blush-deep:   #C9A085;
  --sand:         #E5D7C0;
  --fern:         #5C6B4C;
  --rule:         #D4C5AC;
  --rule-faint:   #E0D2BB;
  --shadow-card:  0 30px 60px -34px rgba(42, 31, 24, .35),
                  0 4px 16px -8px rgba(42, 31, 24, .15);
  --shadow-soft:  0 12px 36px -18px rgba(42, 31, 24, .25);

  --content: 1320px;
  --content-tight: 1080px;

  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;

  /* warm paper texture */
  background-image:
    radial-gradient(800px 600px at 12% -10%, rgba(229, 192, 169, .35), transparent 60%),
    radial-gradient(900px 700px at 105% 20%, rgba(229, 215, 192, .55), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(199, 105, 72, .07), transparent 60%);
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--clay-deep); }

p { margin: 0 0 1em; }

::selection { background: var(--clay); color: var(--paper); }

.skip {
  position: fixed;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: .6em 1em;
  z-index: 1000;
}
.skip:focus { left: 1em; top: 1em; }

/* ───── typography primitives ───── */

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin: 0 0 1.4em;
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--clay-deep);
}

.display, .display-2, .display-3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  margin: 0 0 .35em;
  color: var(--ink);
}
.display {
  font-size: clamp(3.6rem, 9.4vw, 9rem);
  line-height: .9;
}
.display-2 {
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  line-height: .98;
}
.display-3 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.04;
}
.display em, .display-2 em, .display-3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--clay-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
}

/* ───── top bar ───── */

.bar-top {
  background: var(--ink);
  color: var(--paper-warm);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .55em 2em;
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}
.bar-top .dotsep { color: var(--clay); }

/* ───── nav ───── */

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(244, 236, 223, .88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--rule);
  background: rgba(244, 236, 223, .96);
}
.nav-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 1.1em 2em;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  color: var(--ink);
}
.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--clay-deep);
  flex: none;
}
.brand-stack { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 36;
}
.brand-by {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-top: 4px;
}
.brand-by em {
  font-style: normal;
  color: var(--clay-deep);
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 2em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: .4em 0;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--clay-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: .9em;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-soft);
  transition: border-color .2s var(--ease);
}
.lang-toggle:hover { border-color: var(--ink); }
.lang-pill {
  padding: .45em .85em;
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-pill.is-active {
  background: var(--ink);
  color: var(--paper);
}

.cart-button {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: .7em 1.1em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .8em;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cart-button:hover { background: var(--ink); color: var(--paper); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--clay-deep);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0;
}
.cart-button.has-items { background: var(--ink); color: var(--paper); }

/* ───── hero ───── */

.hero {
  position: relative;
  max-width: var(--content);
  margin: 0 auto;
  padding: 4em 2em 5em;
}
.hero-tag {
  position: absolute;
  top: 3em;
  right: 2em;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-faded);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  grid-template-rows: auto auto;
  gap: 3em;
  align-items: end;
}

.hero-text { padding-bottom: 1em; }

.hero-text .display em { display: inline-block; transform: translateX(.05em); }

.hero-ctas {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  margin: 2.4em 0 1.6em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 1em 1.6em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  background: transparent;
  color: var(--ink);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--clay-deep);
  color: var(--paper);
  border-color: var(--clay-deep);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-link {
  border: none;
  padding: .4em 0;
  letter-spacing: .18em;
  border-bottom: 1px solid var(--ink);
}
.btn-link:hover {
  color: var(--clay-deep);
  border-bottom-color: var(--clay-deep);
}

.meta-line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: .8em;
}
.meta-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--fern);
  box-shadow: 0 0 0 4px rgba(92, 107, 76, .15);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(92, 107, 76, .15); }
  50%      { box-shadow: 0 0 0 8px rgba(92, 107, 76, .05); }
}

.hero-figure {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 420px;
}
.hero-figure .figure-frame {
  position: absolute;
  inset: -16px -16px 24px 24px;
  border: 1px solid var(--clay-deep);
  z-index: 0;
}
.hero-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  filter: contrast(.98) saturate(1.02);
  box-shadow: var(--shadow-card);
}
.hero-figure figcaption {
  position: absolute;
  bottom: -1.4em;
  right: -16px;
  z-index: 2;
  background: var(--paper-warm);
  padding: .8em 1.2em;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--rule);
}
.hero-figure figcaption span:first-child {
  color: var(--clay-deep);
}

.hero-side {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 2em;
  margin-top: 2em;
  padding-top: 2em;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-side-label {
  color: var(--clay-deep);
}
.hero-side-text {
  margin-left: auto;
  text-align: right;
  line-height: 1.5;
  font-family: var(--font-mono);
}

/* ───── marquee ───── */

.marquee {
  background: var(--ink);
  color: var(--paper-warm);
  overflow: hidden;
  padding: 1.4em 0;
  border-top: 1px solid var(--clay-deep);
  border-bottom: 1px solid var(--clay-deep);
}
.marquee-track {
  display: flex;
  gap: 2em;
  white-space: nowrap;
  width: max-content;
  animation: scroll-x 38s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: -.01em;
  font-variation-settings: "SOFT" 100, "opsz" 60;
  will-change: transform;
}
.marquee-track > * { flex: 0 0 auto; }
.marquee-track .dot { color: var(--clay); }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ───── stats ───── */

.stats {
  max-width: var(--content);
  margin: 6em auto;
  padding: 0 2em;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-top: 4em;
  padding-bottom: 4em;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .6em;
}
.stat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  line-height: 1;
  color: var(--clay-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  letter-spacing: -.02em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ───── atelier ───── */

.atelier {
  max-width: var(--content);
  margin: 0 auto 8em;
  padding: 0 2em;
}
.atelier-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5em;
  align-items: center;
}
.atelier-figure {
  position: relative;
  margin: 0;
}
.atelier-figure img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-card);
}
.figure-label {
  position: absolute;
  top: 1.2em;
  left: -1.2em;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: .7em 1em;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}
.atelier-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 46ch;
}
.atelier-list {
  list-style: none;
  padding: 0;
  margin: 2em 0 0;
  border-top: 1px solid var(--rule);
}
.atelier-list li {
  padding: 1em 0;
  border-bottom: 1px solid var(--rule-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 1em;
}
.atelier-list li::before {
  content: "✦";
  color: var(--clay-deep);
  font-size: 14px;
}

/* ───── featured ───── */

.featured {
  background: var(--paper-warm);
  padding: 7em 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 6em;
}
.featured-grid {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 2em;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 5em;
  align-items: center;
}
.featured-figure {
  position: relative;
  margin: 0;
}
.featured-figure img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.featured-bubble {
  position: absolute;
  bottom: 1.5em;
  right: -1.2em;
  background: var(--clay-deep);
  color: var(--paper);
  padding: 1em 1.2em;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
  transform: rotate(3deg);
  box-shadow: var(--shadow-soft);
}
.featured-bubble em {
  font-style: italic;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0;
}
.featured-text { padding-left: 1em; }
.featured-lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 44ch;
  margin-bottom: 2em;
}
.featured-meta {
  display: flex;
  align-items: baseline;
  gap: 2em;
  flex-wrap: wrap;
}
.featured-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0;
  color: var(--ink);
}
.featured-price strong {
  font-style: italic;
  color: var(--clay-deep);
  font-weight: 500;
  font-size: 2rem;
}
.featured-price span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-left: .4em;
}

/* ───── section heads ───── */

.section-head {
  max-width: var(--content);
  margin: 0 auto 3.6em;
  padding: 0 2em;
}
.section-sub {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 1.2em 0 0;
}

/* ───── boutique / store ───── */

.boutique {
  max-width: var(--content);
  margin: 0 auto;
  padding: 4em 2em 8em;
}
.boutique .section-head { padding: 0; margin-left: 0; margin-right: 0; }

.filters {
  display: flex;
  gap: .6em;
  flex-wrap: wrap;
  margin-bottom: 3em;
  padding-bottom: 2em;
  border-bottom: 1px solid var(--rule);
}
.filter-btn {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  padding: .8em 1.2em;
  cursor: pointer;
  border-radius: 999px;
  transition: all .2s var(--ease);
}
.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.filter-btn.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.4em 1.6em;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
  grid-column: span 3;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--ink);
}
.product-card[data-cat="armbaender"]:nth-of-type(4n+1),
.product-card[data-cat="wohnen"] {
  grid-column: span 4;
}
.product-card.is-feature {
  grid-column: span 6;
}
.product-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--sand);
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.product-card:hover .product-image img {
  transform: scale(1.06);
}
.product-cat {
  position: absolute;
  top: 1em;
  left: 1em;
  background: rgba(244, 236, 223, .92);
  color: var(--clay-deep);
  padding: .5em .8em;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.product-price {
  position: absolute;
  bottom: 1em;
  right: 1em;
  background: var(--ink);
  color: var(--paper);
  padding: .8em 1em;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  font-variation-settings: "SOFT" 100, "opsz" 36;
  line-height: 1;
}
.product-price small {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
  color: var(--blush);
}

.product-body {
  padding: 1.4em 1.4em 1.6em;
  display: flex;
  flex-direction: column;
  gap: .6em;
  flex: 1;
}
.product-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--ink);
  font-variation-settings: "SOFT" 100, "opsz" 36;
  margin: 0;
}
.product-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--clay-deep);
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
  font-variation-settings: "SOFT" 100, "opsz" 36;
}
.product-desc {
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: .4em 0 0;
}
.product-actions {
  margin-top: auto;
  padding-top: 1em;
  display: flex;
  gap: .6em;
  align-items: center;
}
.product-add {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: .8em 1em;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  flex: 1;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.product-add:hover {
  background: var(--ink);
  color: var(--paper);
}
.product-add.added {
  background: var(--fern);
  border-color: var(--fern);
  color: var(--paper);
}

/* ───── pull quote ───── */

.pullquote {
  max-width: 880px;
  margin: 6em auto 8em;
  padding: 0 2em;
  text-align: center;
  position: relative;
}
.quote-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 8rem;
  line-height: .5;
  color: var(--clay);
  margin: 0 0 .1em;
}
.pullquote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "SOFT" 100, "opsz" 96;
}
.quote-attr {
  margin-top: 1.4em;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-faded);
}

/* ───── gallery ───── */

.galerie {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 2em 8em;
}
#gallery-dateline {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-top: 1em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.6em;
}
.gallery-tile {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand);
  border: 1px solid var(--rule-faint);
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile::after {
  content: "↗";
  position: absolute;
  bottom: .8em;
  right: .8em;
  width: 36px;
  height: 36px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  transform: translate(6px, 6px);
}
.gallery-tile:hover::after { opacity: 1; transform: translate(0, 0); }

.gallery-tile:nth-child(1)  { grid-column: span 6; aspect-ratio: 4/5; }
.gallery-tile:nth-child(2)  { grid-column: span 3; aspect-ratio: 3/4; }
.gallery-tile:nth-child(3)  { grid-column: span 3; aspect-ratio: 3/4; }
.gallery-tile:nth-child(4)  { grid-column: span 3; aspect-ratio: 3/4; }
.gallery-tile:nth-child(5)  { grid-column: span 3; aspect-ratio: 3/4; }
.gallery-tile:nth-child(6)  { grid-column: span 6; aspect-ratio: 4/5; }
.gallery-tile:nth-child(7)  { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-tile:nth-child(8)  { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-tile:nth-child(9)  { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-tile:nth-child(10) { grid-column: span 6; aspect-ratio: 4/5; }
.gallery-tile:nth-child(11) { grid-column: span 6; aspect-ratio: 4/5; }
.gallery-tile:nth-child(12) { grid-column: span 4; aspect-ratio: 3/4; }

.galerie-foot {
  text-align: center;
  margin-top: 3em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.galerie-foot a {
  border-bottom: 1px solid var(--ink);
  padding-bottom: .2em;
}

/* ───── what we make ───── */

.what {
  max-width: var(--content);
  margin: 0 auto 8em;
  padding: 0 2em;
}
.what-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--ink);
}
.what-list li {
  display: grid;
  grid-template-columns: 1fr 2.5fr 4fr;
  gap: 2em;
  align-items: baseline;
  padding: 2.4em 0;
  border-bottom: 1px solid var(--rule);
  transition: background .3s var(--ease);
}
.what-list li:hover { background: var(--paper-warm); padding-left: 1em; padding-right: 1em; }
.what-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--ink-faded);
}
.what-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  font-variation-settings: "SOFT" 100, "opsz" 96;
  color: var(--ink);
}
.what-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 50ch;
}

/* ───── auftrag form ───── */

.auftrag {
  background: var(--ink);
  color: var(--paper-warm);
  padding: 8em 0;
}
.auftrag .kicker { color: var(--blush); }
.auftrag .kicker::before { background: var(--blush); }
.auftrag .display-2 { color: var(--paper); }
.auftrag .display-2 em { color: var(--blush); }

.auftrag-grid {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 2em;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5em;
  align-items: start;
}
.auftrag-intro p {
  color: rgba(236, 224, 204, .8);
  font-size: 1.05rem;
  max-width: 44ch;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 2em 0 0;
  border-top: 1px solid rgba(236, 224, 204, .2);
}
.bullets li {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1em;
  padding: 1em 0;
  border-bottom: 1px solid rgba(236, 224, 204, .15);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.bullets strong { color: var(--blush); font-weight: 400; }
.bullets span { color: var(--paper-warm); }

.form {
  display: flex;
  flex-direction: column;
  gap: 1.4em;
  background: var(--paper);
  color: var(--ink);
  padding: 2.6em 2.4em;
  border: 1px solid var(--clay);
  position: relative;
}
.form::before, .form::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid var(--clay);
}
.form::before { top: -1px; left: -1px; border-right: none; border-bottom: none; transform: translate(-8px, -8px); }
.form::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; transform: translate(8px, 8px); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4em;
}
.field { display: flex; flex-direction: column; gap: .5em; }
.field span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: .55em 0;
  color: var(--ink);
  resize: vertical;
  transition: border-color .2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--clay-deep);
}

.form-cart-summary {
  background: var(--paper-warm);
  border: 1px dashed var(--clay-deep);
  padding: 1em 1.2em;
}
.form-cart-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin: 0 0 .6em;
}
#form-cart-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .95rem;
  color: var(--ink);
}
#form-cart-list li {
  display: flex;
  justify-content: space-between;
  padding: .35em 0;
  border-bottom: 1px solid var(--rule-faint);
}
#form-cart-list li:last-child { border-bottom: none; }

.form-submit { align-self: flex-start; margin-top: .4em; }
.form-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0;
  min-height: 1em;
  color: var(--clay-deep);
}
.form-status.is-ok { color: var(--fern); }
.form-status.is-err { color: var(--clay-deep); }

/* ───── cart drawer ───── */

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: var(--paper);
  border-left: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  z-index: 90;
  transform: translateX(110%);
  transition: transform .4s var(--ease);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-head {
  padding: 1.6em 1.6em 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.cart-head .kicker { margin: 0; }
.cart-close {
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1em 1.6em;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.cart-empty {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-faded);
  text-align: center;
  padding: 3em 0;
  font-size: 1.1rem;
}
.cart-line {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1em;
  align-items: start;
}
.cart-line img {
  width: 70px;
  height: 80px;
  object-fit: cover;
}
.cart-line-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 .2em;
}
.cart-line-price {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-soft);
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  margin-top: .5em;
}
.cart-qty button {
  background: transparent;
  border: none;
  width: 26px;
  height: 26px;
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
}
.cart-qty span {
  min-width: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
}
.cart-line-remove {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink-faded);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  align-self: start;
}
.cart-line-remove:hover { color: var(--clay-deep); }

.cart-foot {
  border-top: 1px solid var(--rule);
  padding: 1.4em 1.6em 1.6em;
  background: var(--paper-warm);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: .6em;
}
.cart-total span:last-child {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -.01em;
  color: var(--clay-deep);
}
.cart-note {
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 1em;
}
.cart-checkout { width: 100%; justify-content: center; }

.cart-scrim {
  position: fixed;
  inset: 0;
  background: rgba(42, 31, 24, .35);
  z-index: 85;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.cart-scrim:not([hidden]) { opacity: 1; }

/* ───── lightbox ───── */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(42, 31, 24, .92);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4em 2em;
}
.lightbox.is-open { display: flex; }
.lightbox-figure {
  position: relative;
  max-width: 880px;
  max-height: 90vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: var(--shadow-card);
}
.lightbox-figure figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper-warm);
  text-align: center;
  max-width: 60ch;
  line-height: 1.6;
}
.lightbox-close {
  position: absolute;
  top: 1.5em;
  right: 1.5em;
  background: transparent;
  border: 1px solid var(--paper-warm);
  color: var(--paper-warm);
  width: 44px;
  height: 44px;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

/* ───── footer ───── */

.foot {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  padding: 5em 2em 3em;
}
.foot-grid {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3em;
  padding-bottom: 4em;
  border-bottom: 1px solid var(--rule);
}
.foot-brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.2rem;
  margin: 0 0 .3em;
  letter-spacing: -.02em;
  font-variation-settings: "SOFT" 100, "opsz" 60;
}
.foot-brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--clay-deep);
}
.foot-brand-block p:not(.foot-brand) {
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 30ch;
}
.foot-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin: 0 0 .8em;
}
.foot p { font-size: .92rem; margin: 0 0 .3em; color: var(--ink-soft); }
.foot a { border-bottom: 1px solid var(--rule); color: var(--ink); }
.foot a:hover { border-bottom-color: var(--clay-deep); }

.foot-meta {
  max-width: var(--content);
  margin: 2.4em auto 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faded);
  text-align: center;
}

/* ───── reveals ───── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ───── responsive ───── */

@media (max-width: 980px) {
  .nav-inner { grid-template-columns: auto auto; gap: 1em; }
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 2em; }
  .hero-tag { display: none; }
  .hero-figure { min-height: 0; }
  .hero-figure img { aspect-ratio: 4/5; min-height: 0; }
  .hero-side { flex-direction: column; gap: 1em; align-items: flex-start; }
  .hero-side-text { margin-left: 0; text-align: left; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .atelier-grid, .featured-grid, .auftrag-grid { grid-template-columns: 1fr; gap: 3em; }
  .featured-text { padding-left: 0; }
  .what-list li { grid-template-columns: 1fr; gap: .8em; }
  .what-list li:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .product-grid { grid-template-columns: repeat(6, 1fr); }
  .product-card,
  .product-card.is-feature,
  .product-card[data-cat="armbaender"]:nth-of-type(4n+1),
  .product-card[data-cat="wohnen"] { grid-column: span 3; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .gallery-tile:nth-child(n) { grid-column: span 3; aspect-ratio: 3/4; }
  .gallery-tile:nth-child(1), .gallery-tile:nth-child(6) { grid-column: span 6; aspect-ratio: 4/5; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .bar-top { font-size: 10px; padding: .5em 1em; }
  .bar-top .dotsep { display: none; }
  .cart-button-label { display: none; }
  .nav-inner { padding: .9em 1.2em; }
  .nav-actions { gap: .5em; }
  .lang-toggle { font-size: 10px; }
  .display { font-size: clamp(2.6rem, 14vw, 4.4rem); }
  .stats { grid-template-columns: 1fr 1fr; gap: 2em; padding: 3em 0; }
  .product-grid, .gallery-grid { grid-template-columns: 1fr; }
  .product-card,
  .product-card.is-feature,
  .product-card[data-cat="armbaender"]:nth-of-type(4n+1),
  .product-card[data-cat="wohnen"],
  .gallery-tile:nth-child(n) { grid-column: span 1; aspect-ratio: 3/4; }
  .foot-grid { grid-template-columns: 1fr; }
  .featured-bubble { right: 1em; bottom: 1em; transform: rotate(0); }
  .form { padding: 1.6em 1.2em; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
