/* Zodara — Produktseite */

:root {
  --paper: #f3eee4;
  --paper-2: #e8e0d2;
  --sheet: #faf7f1;
  --ink: #1b1713;
  --ink-soft: #3f3932;
  --muted: #6f675c;
  --faint: #8d8478;
  --line: #d9d0c2;
  --line-strong: #c9bead;
  --gold: #8f7333;
  --gold-line: #c4a35a;
  --btn: #1b1713;
  --btn-text: #f6f1e8;
  --chip: #efe8db;
  --focus: #8f7333;
  --radius: 12px;
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --display: "Iowan Old Style", Palatino, "Palatino Linotype", "Times New Roman", serif;
  --sticky-h: 4.6rem;
}

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

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  min-height: 100vh;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold);
}

button,
input {
  font: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--btn-text);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

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

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
}

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

.nav {
  display: none;
  gap: 1.35rem;
}

.nav a,
.header-mail,
.site-footer a,
.foot-note {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
}

.nav a:hover,
.header-mail:hover,
.site-footer a:hover {
  color: var(--ink);
}

.header-mail {
  display: none;
}

/* Product stage */

.product {
  display: grid;
  gap: 1.5rem;
  padding: 1.25rem 0 2.5rem;
}

.gallery-main {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: min(52vh, 28rem);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.thumb {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--sheet);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.is-active,
.thumb[aria-current="true"] {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.thumb:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Buy box */

.buy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.buy h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.lede {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 34rem;
}

.status {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid var(--line-strong);
  background: var(--chip);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.trust {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.75rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.trust li {
  position: relative;
  padding-left: 0.9rem;
}

.trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--gold-line);
}

/* Signs */

.signs {
  border: 0;
}

.signs legend {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.sign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.55rem 0.2rem 0.45rem;
  border: 1px solid var(--line);
  background: var(--sheet);
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}

.sign input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sign .glyph {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--gold);
}

.sign-name {
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.sign:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
}

.sign:has(input:checked) .glyph,
.sign:has(input:checked) .sign-name {
  color: var(--btn-text);
}

.sign:has(input:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Form */

.email-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

.email-row label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.email-row input {
  appearance: none;
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--sheet);
  color: var(--ink);
  padding: 0.85rem 0.95rem;
  border-radius: 8px;
  outline: none;
}

.email-row input::placeholder {
  color: var(--faint);
}

.email-row input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(143, 115, 51, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.1rem;
}

.btn-primary {
  background: var(--btn);
  color: var(--btn-text);
  width: 100%;
  margin-top: 0.75rem;
}

.btn-primary:hover {
  background: #2a241e;
  color: var(--btn-text);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: wait;
}

.form-note,
.form-status {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.55rem;
}

.form-status.is-ok {
  color: #2d5a3d;
}

.form-status.is-err {
  color: #8a2f24;
}

/* How */

.band {
  background: var(--paper-2);
  padding: 2.6rem 0;
}

.band h2,
.box-section h2,
.specs-section h2,
.faq-section h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 500;
  margin-bottom: 1.3rem;
}

.steps {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}

.steps li {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
}

.steps .n {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.steps h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.steps p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Lieferumfang */

.box-section {
  display: grid;
  gap: 1.25rem;
  padding: 2.6rem 0;
}

.contents {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.contents li {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contents li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contents strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.box-photo {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.box-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Specs */

.specs-section {
  padding-bottom: 2.4rem;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.specs th,
.specs td {
  text-align: left;
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.specs th {
  width: 34%;
  color: var(--muted);
  font-weight: 500;
}

/* FAQ */

.faq-section {
  padding-bottom: 5.5rem;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.6rem 1rem 0;
  font-weight: 600;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1rem;
  color: var(--gold);
  font-weight: 400;
  font-size: 1.2rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  color: var(--ink-soft);
  padding: 0 0 1.1rem;
  max-width: 40rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 6.2rem;
  background: var(--sheet);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.foot-note {
  width: 100%;
}

/* Sticky CTA (mobile) */

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: var(--sheet);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(27, 23, 19, 0.06);
}

.sticky-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-copy strong {
  font-size: 0.9rem;
}

.sticky-copy span {
  font-size: 0.72rem;
  color: var(--muted);
}

.sticky .btn {
  width: auto;
  margin: 0;
  flex: 1;
  padding: 0.8rem 0.75rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.sticky.is-hidden {
  transform: translateY(110%);
  pointer-events: none;
}

/* Legal pages */

.legal {
  width: min(40rem, calc(100% - 2rem));
  margin: 2rem auto 3rem;
  padding-bottom: 2rem;
}

.legal h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 2.1rem;
  margin-bottom: 0.85rem;
}

.legal-lead {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.legal h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 1.6rem 0 0.5rem;
}

.legal p + p {
  margin-top: 0.9rem;
}

.legal address {
  font-style: normal;
  margin: 0.4rem 0 1rem;
}

body.is-legal .site-footer {
  padding-bottom: 1.8rem;
}

body.is-legal .sticky {
  display: none;
}

/* Desktop */

@media (min-width: 760px) {
  .wrap {
    width: min(1120px, calc(100% - 3.5rem));
  }

  .nav,
  .header-mail {
    display: flex;
  }

  .sign-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust li {
    font-size: 0.82rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .box-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }

  .faq-section {
    padding-bottom: 3.2rem;
  }

  .site-footer {
    padding-bottom: 1.8rem;
  }

  .sticky {
    display: none;
  }

  .foot-note {
    width: auto;
  }
}

@media (min-width: 720px) {
  .product {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3rem;
    padding: 2rem 0 3.2rem;
    align-items: start;
  }

  .buy {
    position: sticky;
    top: 4.4rem;
  }

  .gallery-main {
    aspect-ratio: 4 / 3;
  }
}

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

  .sticky {
    transition: none;
  }
}
