/* STELLARTO v11 — "Nachtgalerie" (Mateo pick 2026-11-02: A2 home, A3 product
   page, K2 configurator). Replaces v10 "Daylight".

   A gallery at night: the frame of the shop (header, hero, configurator,
   footer) is ink; the reading sections are porcelain paper. That keeps the
   poster's own night colour as the mood WITHOUT the v9 "observatory" look —
   no sparks, no mono data voice, no instrument chrome.

   Palette (contrast measured, WCAG):
     ink        #0E1430  text on paper 16.3:1 · panels · footer · CTA on paper
     paper      #F6F3EC  page
     card       #FBF9F4  bands / cards on paper
     off-white  #F4F1EA  text + CTA on ink 16.0:1
     mist       #A9AEC2  secondary text on ink 8.2:1
     muted      #4E5468  secondary text on paper 6.8:1
     brass      #B89B5E  hairlines, icons, selected state; text ONLY on ink (6.8:1)
     brass-deep #7A6332  brass as text on paper 5.2:1
   Type: Fraunces (display) + Plus Jakarta Sans (UI). Radius: 6 card / 4 control. */

@font-face { font-family: 'Fraunces'; src: url("../fonts/Fraunces-Medium.e791faf695dd.ttf"); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url("../fonts/Fraunces-SemiBold.27d64e8ad7c9.ttf"); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url("../fonts/PlusJakartaSans-Regular.ec6d5973505b.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url("../fonts/PlusJakartaSans-SemiBold.03a280e14937.ttf"); font-weight: 600; font-display: swap; }

:root {
  --ink: #0E1430;
  --ink-2: #161D3D;         /* one step up from ink: fields, strip, raised panels */
  --offwhite: #F4F1EA;
  --mist: #A9AEC2;
  --brass: #B89B5E;
  --brass-deep: #7A6332;
  --accent-deep: var(--brass-deep);   /* legacy name used by shared templates */
  --accent-wash: #F3EDE0;             /* brass at ~10 % on paper — selected cards */
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 22%, transparent);
  --line-ink: color-mix(in srgb, var(--offwhite) 16%, transparent);
  --shadow-sm: 0 1px 3px color-mix(in srgb, var(--ink) 8%, transparent);
  --shadow-md: 0 8px 24px color-mix(in srgb, var(--ink) 10%, transparent);
  --shadow-lg: 0 22px 50px color-mix(in srgb, var(--ink) 16%, transparent);
}

/* ── world ─────────────────────────────────────────────────────────── */
body { background: var(--bg); font-weight: 400; line-height: 1.62; }
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 500; letter-spacing: -0.015em; }
h1 em, h2 em, .accent-em { font-style: italic; color: var(--brass-deep); }

.kicker, .eyebrow, .hiw-n, .step3-n {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass-deep); opacity: 1;
}
.band .kicker { color: var(--brass-deep); }

/* full-bleed ink panel — same border-image trick as base .band */
.nacht-panel, .hero-nacht {
  border-image: conic-gradient(var(--ink) 0 0) fill 0//0 100vw;
  background-color: var(--ink); /* same ink inside the box: fallback + lets contrast checkers see it */
  color: var(--offwhite);
}

/* ── announcement bar ──────────────────────────────────────────────── */
.intro-bar, .deadline-bar {
  background: var(--ink-2); color: var(--offwhite); font-size: 0.82rem;
  letter-spacing: 0.01em; padding: 0.62rem 1rem;
}
.intro-bar strong, .intro-bar [data-countdown] { color: var(--brass); }

/* ── header: ink, wordmark in off-white, brass hairline ────────────── */
header.site {
  background: var(--ink); color: var(--offwhite);
  border-bottom: 1px solid color-mix(in srgb, var(--brass) 35%, transparent);
  padding: 0.95rem 1.4rem;
}
header.site .brand svg { color: var(--offwhite); }
.mainnav a { font-size: 0.9rem; font-weight: 500; opacity: 1;
  color: color-mix(in srgb, var(--offwhite) 86%, transparent); border-bottom: none; }
.mainnav a:hover { color: var(--brass); border-bottom-color: transparent; }
header.site .cart-link {
  color: var(--offwhite); font-weight: 600; font-size: 0.85rem; text-transform: none;
  letter-spacing: 0.01em; border: 1px solid var(--line-ink); border-radius: var(--radius-control);
  padding: 0.42rem 0.85rem; transition: border-color 0.15s;
}
header.site .cart-link:hover { border-color: var(--brass); }
.mobilenav summary { color: var(--offwhite); }
.mobilenav-panel { background: var(--ink); border-color: var(--line-ink); box-shadow: var(--shadow-lg); }
.mobilenav-panel a { color: var(--offwhite); }
.mobilenav-panel a:hover { background: var(--ink-2); color: var(--brass); }

/* service strip — one quiet line under the header, still inside the night */
.service-strip {
  --strip-bg: var(--ink-2); --strip-text: var(--mist);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.74rem;
  letter-spacing: 0.04em; text-transform: none;
}

/* ── buttons: ink on paper, off-white on ink. Brass never fills a CTA. ─ */
.btn-cta {
  background: var(--ink); color: var(--offwhite); border: none; border-radius: var(--radius-cta);
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.06rem;
  text-transform: none; letter-spacing: 0.005em; padding: 0.95rem 2.1rem;
  box-shadow: var(--shadow-sm); transition: background 0.18s ease, transform 0.18s ease;
}
.btn-cta:hover { background: var(--ink-2); transform: translateY(-1px); }
.hero-nacht .btn-cta, .nacht-panel .btn-cta, .on-ink .btn-cta, .band-ink .btn-cta {
  background: var(--offwhite); color: var(--ink); box-shadow: none;
}
.hero-nacht .btn-cta:hover, .nacht-panel .btn-cta:hover,
.on-ink .btn-cta:hover, .band-ink .btn-cta:hover { background: #FFFFFF; }
.btn-ghost {
  display: inline-block; background: transparent; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-cta);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 1rem;
  padding: 0.9rem 1.9rem; text-decoration: none; text-align: center;
}
.btn-ghost:hover { border-color: var(--brass); background: var(--accent-wash); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

/* ── hero (A2): ink panel, copy + form left, the room photo right ──── */
.hero.hero-nacht { padding: 3.2rem 0 3.4rem; margin-bottom: 0; gap: 2.6rem; }
@media (min-width: 860px) { .hero.hero-nacht { grid-template-columns: 0.92fr 1.08fr; } }
.hero-nacht h1 { color: var(--offwhite); font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05;
  margin-bottom: 1rem; }
.hero-nacht p { color: var(--mist); font-size: 1.04rem; max-width: 40ch; }
.hero-nacht .hero-photo { margin: 0; justify-self: stretch; }
.hero-nacht .hero-photo img { display: block; width: 100%; max-width: none; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); }
.hero-prices { margin-top: 1.1rem; font-size: 0.9rem; color: var(--offwhite) !important;
  letter-spacing: 0.01em; }
@media (max-width: 859.98px) {
  .hero.hero-nacht { padding: 0 0 1.8rem; gap: 1.2rem; }
  /* mobile: the room first (cropped to the poster + couple), then the form */
  .hero-nacht .hero-photo { order: -1; margin-inline: -1rem; }
  .hero-nacht .hero-photo img { border-radius: 0; aspect-ratio: 16 / 10; max-height: 34vh;
    object-position: 40% 40%; }
  .hero-nacht h1 { font-size: clamp(2rem, 8.4vw, 2.5rem); margin-bottom: 0.5rem; }
  .hero-nacht p { font-size: 0.96rem; margin-bottom: 0.9rem; }
  .hero-prices { font-size: 0.84rem; }
}

/* hero mini-configurator on ink */
.hero-handoff label { font-size: 0.74rem; letter-spacing: 0.06em; font-weight: 600;
  color: var(--offwhite); opacity: 1; text-transform: none; }
.hero-handoff input {
  background: var(--ink-2); color: var(--offwhite); border: 1px solid color-mix(in srgb, var(--offwhite) 34%, transparent);
  border-radius: var(--radius-control); box-shadow: none; color-scheme: dark;
}
.hero-handoff input::placeholder { color: var(--mist); opacity: 1; }
.hero-handoff input:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
.hf-ac { background: #FFFFFF; color: var(--ink); border-radius: var(--radius-control); box-shadow: var(--shadow-lg); }
.hf-ac div:hover { background: var(--accent-wash); }
.hf-err { color: #F2B8A8; }

/* ── "Derselbe Himmel, vier Stile" — the real renders, nothing else ─ */
.style-strip { padding: 3rem 0 1rem; text-align: center; }
.style-strip h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 1.6rem; }
.style-strip-list { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(6, 1fr); gap: 1.3rem; max-width: 1080px; margin-inline: auto; }
.style-strip-list a { display: block; text-decoration: none; color: var(--ink); }
.style-strip-list img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 7;
  box-shadow: var(--shadow-md); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.style-strip-list a:hover img { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.style-strip-list span { display: block; margin-top: 0.7rem; font-size: 0.92rem; font-weight: 600; }
.style-strip-note { display: flex; align-items: center; gap: 1rem; justify-content: center;
  margin: 1.4rem auto 0; max-width: 420px; color: var(--muted); font-size: 0.86rem; }
.style-strip-note::before, .style-strip-note::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
@media (max-width: 700px) {
  .style-strip { padding-top: 2.2rem; }
  /* swipe row: 2.3 cards visible, the cut card says "there is more" */
  .style-strip-list { display: flex; gap: 0.9rem; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -1rem; padding: 0 1rem 0.6rem; }
  .style-strip-list li { flex: 0 0 42%; scroll-snap-align: start; }
}

/* ── bands: card-white sections on paper ───────────────────────────── */
.band { --tile-scrim: rgba(14, 20, 48, 0.74); }
.band .view-all { color: var(--muted); }
.band .view-all:hover { color: var(--brass-deep); }
.band-ink { --band-text: var(--offwhite); color: var(--offwhite); }
.band-ink h1, .band-ink h2, .band-ink h3 { color: var(--offwhite); }
.band-ink p { color: var(--mist); }
.band-ink .kicker { color: var(--brass); }

/* ── USP row: hairline icons in brass, no discs ────────────────────── */
.usp-bar { background: transparent; border: none; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.usp > svg { flex: 0 0 28px; width: 28px; height: 28px; padding: 0; border-radius: 0;
  background: none; color: var(--brass-deep); }
.usp strong { font-weight: 600; color: var(--ink); }
.usp span { color: var(--muted); }

/* ── product cards ─────────────────────────────────────────────────── */
.product-card img, .product-card .card-abstract {
  border-radius: var(--radius-card); border: 1px solid var(--line);
  background: #FFFFFF; box-shadow: var(--shadow-sm); transition: box-shadow 0.22s ease;
}
.product-card { transition: transform 0.22s ease; }
.product-card:hover { transform: translateY(-3px); }
.product-card:hover img, .product-card:hover .card-abstract { box-shadow: var(--shadow-md); }
.product-card strong, .band .product-card strong { color: var(--ink); font-size: 1.04rem; font-weight: 600; }
.product-card em, .band .product-card em {
  color: var(--muted); font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }
.card-price, .band .card-price { color: var(--ink); font-weight: 600; font-size: 1.02rem;
  font-family: 'Plus Jakarta Sans', sans-serif; }
.card-was, .band .card-was { color: var(--muted); opacity: 0.85; text-decoration: line-through; }
.card-pct, .band .card-pct { color: var(--brass-deep); font-size: 0.7rem;
  font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.06em; }
.badge { background: var(--ink); color: var(--offwhite); border-radius: var(--radius-control);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600;
  letter-spacing: 0.08em; padding: 0.24rem 0.6rem; }
.example-tag { font-family: 'Plus Jakarta Sans', sans-serif; border-radius: var(--radius-control);
  background: rgba(14, 20, 48, 0.62); }

/* collection tiles = the occasion photos (A2 "Für die erste Nacht" cards) */
.cat-tile img { border-radius: var(--radius-card); }
.cat-tile .tile-img { box-shadow: var(--shadow-md); border-radius: var(--radius-card); overflow: hidden; }
.cat-tile-body strong { color: var(--ink); font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.15rem; }
.cat-tile-body em, .band .cat-tile-body em { color: var(--brass-deep); }

/* ── editorial statement: the one ink card ─────────────────────────── */
.editorial-moment {
  background: var(--ink); color: var(--offwhite); border-radius: var(--radius-card);
  margin: 3rem 0; padding: 3.6rem 1.6rem; box-shadow: var(--shadow-lg);
}
.editorial-moment p { color: var(--offwhite); }
.editorial-moment em { color: var(--brass); font-style: italic; }

/* ── steps: numbered ink discs (A2) ────────────────────────────────── */
.step3, .hiw-step { background: transparent; border: none; border-left: 1px solid var(--line);
  border-radius: 0; box-shadow: none; }
.step3 img, .hiw-step img { border-radius: var(--radius-card); }
.step-n, .step3-body .step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink);
  color: var(--offwhite); font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 1.05rem; margin-bottom: 0.7rem;
}

/* ── configurator surfaces on paper: brass = chosen ────────────────── */
.tile, .option-tile {
  border-radius: var(--radius-control); border: 1px solid var(--line-strong);
  background: #FFFFFF; color: var(--ink); box-shadow: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.tile:hover, .option-tile:hover { border-color: var(--brass); }
.tile.active, .option-tile.active {
  border-color: var(--brass); background: var(--accent-wash);
  box-shadow: 0 0 0 1px var(--brass) inset;
}
.option-tile img { border-radius: 2px; }
.field input, .field select, .field textarea {
  border-radius: var(--radius-control); border: 1px solid var(--line-strong);
  background: #FFFFFF; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); }
.field label { font-weight: 600; }
.preview-frame.framed_black, .preview-frame.framed_white { border-radius: 2px; }
.buy-bar { border-top: 1px solid var(--line); }
.buy-signals { border-radius: var(--radius-card); border-color: color-mix(in srgb, var(--brass) 40%, transparent);
  background: var(--accent-wash); }
.intro-line { color: var(--brass-deep); }
.price { color: var(--ink); }
.preview-loading { position: relative; }
.preview-loading::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(100deg, transparent 30%, rgba(244,241,234,0.10) 50%, transparent 70%);
  background-size: 220% 100%; animation: shimmer 1.1s linear infinite; }
@keyframes shimmer { from { background-position: 180% 0; } to { background-position: -60% 0; } }

/* ── stepper rail: numbered circles joined by a hairline ───────────── */
.stepper-nav { margin-bottom: 1.6rem; }
.stepper-dots { display: flex; flex-wrap: nowrap; overflow: visible;
  align-items: flex-start; justify-content: space-between; gap: 0; }
.stepper-dot {
  position: relative; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  background: none; border: none; border-radius: 0; padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.stepper-dot::before { content: ""; position: absolute; top: 0.9rem; right: 50%;
  width: 100%; height: 1px; background: var(--line-strong); }
.stepper-dot:first-child::before { content: none; }
.stepper-dot.active::before, .stepper-dot.done::before { background: var(--brass); }
.stepper-dot span { position: relative; z-index: 1;
  width: 1.8rem; height: 1.8rem; border-radius: 50%; font-size: 0.82rem;
  background: #FFFFFF; color: var(--muted); box-shadow: 0 0 0 1px var(--line-strong); }
.stepper-dot.active { color: var(--ink); padding: 0; gap: 0.4rem; font-size: 0.68rem; letter-spacing: 0.1em; }
.stepper-dot.active span, .stepper-dot.done span {
  background: var(--ink); color: var(--offwhite); box-shadow: 0 0 0 1px var(--brass); }
.stepper-dot.done { color: var(--muted); }
@media (max-width: 420px) { .stepper-dot { font-size: 0.6rem; letter-spacing: 0.05em; } }

.stepper-back { text-decoration: none; font-weight: 600;
  border: 1px solid var(--line-strong); border-radius: var(--radius-cta);
  padding: 0.72rem 1.4rem; background: transparent; }
.stepper-back:hover { border-color: var(--brass); background: var(--accent-wash); }
.stepper-controls { gap: 0.8rem; }
.stepper-next { flex: 0 1 auto; }

/* ── reviews ───────────────────────────────────────────────────────── */
.review-card { background: #FFFFFF; border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: none; }
.review-stars { color: var(--brass-deep); letter-spacing: 0.14em; }
.rating-line .avg { font-family: 'Fraunces', serif; color: var(--ink); }

/* ── FAQ / accordions: hairline rows, not boxes ────────────────────── */
/* section.faq out-specifies the inline section styles that load later */
section.faq details { border-radius: 0; background: transparent; border: none;
  border-bottom: 1px solid var(--line-strong); box-shadow: none; margin-bottom: 0; }
section.faq details:first-of-type { border-top: 1px solid var(--line-strong); }
section.faq details:hover { border-color: var(--line-strong); }
section.faq details[open] { border-bottom-color: var(--brass); background: transparent; }
section.faq summary { padding: 0.95rem 0.1rem; }

/* ── footer: ink ───────────────────────────────────────────────────── */
footer.brandfoot { background-color: var(--ink); color: var(--offwhite); border-top: none; }
footer.brandfoot .foot-logo svg { color: var(--offwhite); }
footer.brandfoot .foot-col strong { color: var(--brass); }
footer.brandfoot .foot-col a { color: color-mix(in srgb, var(--offwhite) 86%, transparent); }
footer.brandfoot .foot-col a:hover { color: var(--brass); }
footer.brandfoot .foot-brand p { color: var(--mist); }
footer.brandfoot .foot-meta { color: var(--mist); border-top-color: var(--line-ink); }
footer.brandfoot .foot-langs, footer.brandfoot .foot-langs a { color: var(--mist); }
footer.brandfoot .foot-langs a:hover, footer.brandfoot .foot-langs span[aria-current] { color: var(--offwhite); }
.pay-badges span { border-radius: var(--radius-control); border-color: var(--line-ink); color: var(--mist); }

/* ── misc surfaces ─────────────────────────────────────────────────── */
.cart-drawer, .xi-panel, .sg-panel { background: #FFFFFF; color: var(--ink); }
.moment-section img, .gift-section img, .room-grid img, .room-video,
.correct-grid img { border-radius: var(--radius-card); box-shadow: var(--shadow-md); }

/* ── v11 polish after first shots ──────────────────────────────────── */
.hero-handoff .hf-err:empty { display: none; }
.hero-prices { font-size: 0.86rem; }
@media (max-width: 700px) {
  /* one line of trust on a phone, not two: the first two promises only */
  .service-strip span:nth-child(n+3) { display: none; }
  .hero-nacht .hero-photo img { max-height: 28vh; }
}

/* ── PDP v11 A3 + K2: the configurator on one ink panel ────────────────
   The configurator template styles itself with var(--text)/--surface/
   --muted/--accent; re-pointing those vars here turns every rule dark
   without touching the shared template CSS. */
.pdp-nacht {
  --bg: var(--ink); --surface: var(--ink-2); --text: var(--offwhite);
  --muted: var(--mist); --accent: var(--brass); --accent-deep: var(--brass);
  --accent-wash: color-mix(in srgb, var(--brass) 16%, var(--ink-2));
  --line: color-mix(in srgb, var(--offwhite) 10%, transparent);
  --line-strong: var(--line-ink);
  color-scheme: dark; padding: 1.1rem 0 2.4rem; margin-bottom: 2.6rem;
}
.pdp-nacht h1, .pdp-nacht h2 { color: var(--offwhite); }
.pdp-crumbs { font-size: 0.8rem; color: var(--mist); display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pdp-crumbs a { color: var(--offwhite); text-decoration: none; border-bottom: 1px solid var(--line-ink); }
.pdp-crumbs a:hover { border-color: var(--brass); }

/* preview: real shadow on ink (the template's var(--text) shadow would glow) */
.pdp-nacht .preview-frame img { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.pdp-nacht .preview-frame.framed_black { box-shadow: 0 0 0 1px var(--line-ink); }
.pdp-nacht .preview-frame.wall img, .pdp-nacht .preview-frame.room img { border-radius: var(--radius-card); }
/* room + wall keep the print's 5:7 box — switching views never moves the gallery */
.pdp-nacht .preview-frame.room, .pdp-nacht .preview-frame.wall { aspect-ratio: 5 / 7;
  display: flex; flex-direction: column; justify-content: center; }
.room-shot { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; display: block; }
.pdp-nacht .preview-note { color: var(--mist); text-align: center; max-width: 460px; }

.view-toggle { display: inline-flex; margin-bottom: 0.9rem; border: 1px solid var(--line-ink);
  border-radius: var(--radius-control); padding: 3px; gap: 3px; }
.view-toggle .vt { font: 600 0.78rem 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.04em;
  background: transparent; color: var(--mist); border: none; border-radius: 3px;
  padding: 0.42rem 0.9rem; cursor: pointer; min-height: 44px; }
.view-toggle .vt.active { background: var(--offwhite); color: var(--ink); }
.view-toggle .vt:not(.active):hover { color: var(--offwhite); }

.pdp-gallery { list-style: none; display: flex; gap: 0.5rem; margin: 0.9rem 0 0; padding: 0; }
.pdp-gallery .g-item { display: block; width: 64px; height: 64px; padding: 0; cursor: pointer;
  background: var(--ink-2); border: 1px solid var(--line-ink); border-radius: var(--radius-control);
  overflow: hidden; }
.pdp-gallery .g-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-gallery .g-live img { object-fit: contain; }
.pdp-gallery .g-item.active { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass); }

/* panel on ink */
.pdp-nacht .panel .sub, .pdp-nacht .ab-head p { color: var(--mist); }
.pdp-nacht .tile, .pdp-nacht .option-tile { background: var(--ink-2); color: var(--offwhite);
  border-color: var(--line-ink); }
.pdp-nacht .tile.active, .pdp-nacht .option-tile.active { background: var(--accent-wash);
  border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass) inset; }
.pdp-nacht .field input, .pdp-nacht .field select { background: var(--ink-2); color: var(--offwhite);
  border-color: var(--line-ink); }
.pdp-nacht .field input:focus { border-color: var(--brass); }
.pdp-nacht .ab-style { background: var(--ink-2); border-color: var(--line-ink); }
.ab-style .sw-img { width: 100%; height: auto; aspect-ratio: 5/7; object-fit: cover; display: block; }
.pdp-nacht .ab-size .pop { background: var(--brass); color: var(--ink); }
.pdp-nacht .ab-summary { background: var(--ink-2); border-color: var(--line-ink); }
.pdp-nacht .buy-signals { background: var(--ink-2); border-color: color-mix(in srgb, var(--brass) 45%, transparent); color: var(--offwhite); }
.pdp-nacht .intro-line { color: var(--brass); }
.pdp-nacht .price { color: var(--offwhite); }
.pdp-nacht .sizeguide-link, .pdp-nacht .save-msg { color: var(--brass); }
.pdp-nacht .stepper-dot span { background: var(--ink-2); color: var(--mist); }
.pdp-nacht .stepper-dot.active { color: var(--offwhite); }
.pdp-nacht .stepper-dot.active span, .pdp-nacht .stepper-dot.done span {
  background: var(--offwhite); color: var(--ink); box-shadow: 0 0 0 1px var(--brass); }
.pdp-nacht .stepper-back { color: var(--offwhite); border-color: var(--line-ink); }
.pdp-nacht .stepper-back:hover { background: var(--ink-2); }
.pdp-nacht .buy-bar { background: var(--ink); border-top-color: var(--line-ink); }
.pdp-nacht .pay-badges span { color: var(--mist); }

.bill-line { font-size: 0.8rem; line-height: 1.45; color: var(--mist); margin: 0 0 0.45rem;
  font-variant-numeric: tabular-nums; }
.bill-line:empty { display: none; }
.bar-thumb { display: none; }
@media (max-width: 899px) {
  /* phone: the live design rides along in the sticky buy bar */
  .bar-thumb { display: block; width: 38px; height: auto; aspect-ratio: 5/7; object-fit: cover;
    border-radius: 2px; align-self: center; box-shadow: 0 0 0 1px var(--line-ink); }
  .pdp-nacht .buy-bar { padding: 0.7rem 0 0.8rem; }
  .pdp-gallery .g-item { width: 56px; height: 56px; }
}

/* ── size & price table (paper) ────────────────────────────────────── */
.size-table { max-width: 720px; margin: 0 auto 3rem; }
.size-table h2 { margin-bottom: 1rem; }
.st-scroll { overflow-x: auto; }
.size-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); text-align: right; }
.size-table th[scope="row"], .size-table thead th:first-child { text-align: left; }
.size-table thead th { font: 600 0.72rem 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass-deep); border-bottom-color: var(--line-strong); }
.size-table tbody th { font-weight: 600; color: var(--ink); }
.size-table td { color: var(--ink); }
.size-table .st-none { color: var(--muted); }
.st-note { margin-top: 0.8rem; font-size: 0.86rem; color: var(--muted); }
.st-note .sizeguide-link { color: var(--brass-deep); }
/* dark styles (midnight, nero) melt into the ink panel — a hairline gives the print its edge */
.pdp-nacht .preview-frame:not(.wall):not(.room) img {
  box-shadow: 0 0 0 1px rgba(244, 241, 234, 0.14), 0 24px 60px rgba(0, 0, 0, 0.5); }
.size-table th, .size-table td { white-space: nowrap; }
@media (max-width: 520px) {
  .size-table th, .size-table td { padding: 0.65rem 0.35rem; font-size: 0.9rem; }
  .size-table thead th { font-size: 0.64rem; letter-spacing: 0.08em; }
}

/* price line under the PDP title (critic r1: no price on the first screen) */
.pdp-from { font-size: 0.9rem; margin: -0.2rem 0 0.9rem; font-variant-numeric: tabular-nums; }
.pdp-nacht .pdp-from { color: var(--offwhite); }
/* tap targets ≥ 44 px (critic r1) */
.sizeguide-link { min-height: 44px; display: inline-flex; align-items: center; }
/* phone: price on the first screen next to the crumbs (desktop has .pdp-from by the title) */
.pdp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.m-from { display: none; margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--offwhite);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 899px) {
  /* critic r2 R2: product · price · date replace the crumbs on a phone */
  .pdp-top .pdp-crumbs { display: none; }
  .m-from { display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
  .m-from .mf-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
  .m-from .mf-meta { font-size: 0.85rem; color: var(--offwhite); }
  /* long product names (Sternenkarte zur Hochzeit) push price · date onto line 2 instead of clipping */
  .m-from { flex-wrap: wrap; row-gap: 0.15rem; }
  .m-from .mf-meta { white-space: nowrap; }
}
/* room/wall notes are one line, the print note two: reserve two so nothing shifts */
.pdp-nacht .preview-note { min-height: 2.9em; }

/* ── v11 R10 mobile: shorter page + persistent dock (critic r1) ─────── */
.m-dock { display: none; }
@media (max-width: 899px) {
  /* footer link columns side by side instead of five stacked blocks */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .foot-grid .foot-brand { grid-column: 1 / -1; }
  /* occasion tiles + related products: one swipe row, not a 2×2 wall */
  .occasions, .related-grid { display: flex; overflow-x: auto; gap: 0.8rem;
    scroll-snap-type: x mandatory; padding-bottom: 0.4rem; margin-right: -16px; }
  .occasions > *, .related-grid > * { flex: 0 0 44%; scroll-snap-align: start; }
  .correct-grid { gap: 1.2rem; }
  .correct-grid img { aspect-ratio: 4 / 3; object-fit: cover; max-height: 280px; }
  .trust-cols { gap: 0.9rem; }
  /* icon beside the text, not above it */
  .trust-cols > div { display: grid; grid-template-columns: 30px 1fr; column-gap: 0.7rem; }
  .trust-cols > div > svg { grid-row: 1 / span 2; margin: 0.1rem 0 0; }
  .trust-cols > div > :not(svg) { grid-column: 2; }
  .correct-grid img { max-height: 190px; }
  /* date + time fit side by side at 390 px — one row less in step 1 */
  .pdp-nacht .row2 { grid-template-columns: 1.25fr 1fr; }

  .m-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.55rem 16px calc(0.55rem + env(safe-area-inset-bottom));
    background: var(--ink); color: var(--offwhite);
    border-top: 1px solid var(--line-ink);
    transform: translateY(110%); transition: transform 0.2s ease; }
  .m-dock.on { transform: none; }
  .m-dock .md-thumb { width: 48px; height: 67px; object-fit: cover; border-radius: 2px;
    box-shadow: 0 0 0 1px var(--line-ink); background: var(--ink-2); flex: none;
    padding: 0; border: 0; cursor: pointer; }
  .m-dock .md-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 2px; }
  .m-dock .md-info { flex: 1; min-width: 0; line-height: 1.2; }
  .m-dock .md-price { font-family: var(--font-display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
  .m-dock .md-sub { display: block; font-size: 0.72rem; color: var(--mist);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-dock .btn-cta { min-height: 44px; padding: 0 1.1rem; white-space: nowrap; flex: none;
    background: var(--offwhite); color: var(--ink); font-size: 0.98rem; box-shadow: none; }
  body.has-dock { padding-bottom: 76px; }
  /* critic r2 R10: pinned poster band for steps 1–3 */
  .m-pin { position: fixed; left: 0; right: 0; top: var(--hdr, 64px); z-index: 45; height: 30vh;
    display: flex; justify-content: center; align-items: center; padding: 0.55rem 0; margin: 0;
    border: 0; border-bottom: 1px solid var(--line-ink); cursor: zoom-in;
    background: color-mix(in srgb, var(--ink) 92%, transparent); backdrop-filter: blur(6px);
    opacity: 0; transform: translateY(-12px); pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease; }
  .m-pin.on { opacity: 1; transform: none; pointer-events: auto; }
  .m-pin img { height: 100%; width: auto; box-shadow: 0 6px 18px rgb(0 0 0 / 0.45); }
  body.has-pin .pdp-nacht .panel, body.has-pin .pdp-nacht [data-step] { scroll-margin-top: calc(var(--hdr, 64px) + 30vh + 12px); }
}
.m-pin { display: none; }
@media (max-width: 899px) { .m-pin { display: flex; } }
@media (prefers-reduced-motion: reduce) { .m-dock, .m-pin { transition: none; } }
.pdp-nacht .field-hint { font-size: 0.78rem; line-height: 1.45; color: var(--mist); margin: -0.2rem 0 0.9rem; }
.hero-proof { margin-top: 0.55rem; font-size: 0.84rem; color: var(--mist); }
.hero-proof a { color: var(--offwhite); text-decoration: none; border-bottom: 1px solid var(--line-ink); }
/* review initials: ink + brass, not the legacy amber */
section.reviews-strip .review-avatar { background: var(--ink); color: var(--brass);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brass) 40%, transparent); }
section.reviews-strip .review-verified { background: transparent; color: var(--brass-deep);
  border-color: color-mix(in srgb, var(--brass) 55%, transparent); }

/* ── v11 R1 (critic r2): home at 390 px under 9,000 px ─────────────────
   Phones get one swipe row per shelf (next card peeks in) instead of
   2×2 walls; USPs 2×2; the room video flatter. Desktop is untouched. */
@media (max-width: 599px) {
  .grid-section .product-grid, .grid-section .cat-tiles, .grid-section .steps3,
  #anlaesse .occasions {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-template-rows: none; grid-auto-columns: 68%; gap: 0.8rem;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding: 0 16px 0.5rem; scroll-padding-inline: 16px;
    scrollbar-width: none; }
  .grid-section .product-grid::-webkit-scrollbar, .grid-section .cat-tiles::-webkit-scrollbar,
  .grid-section .steps3::-webkit-scrollbar, #anlaesse .occasions::-webkit-scrollbar { display: none; }
  .grid-section .product-grid > *, .grid-section .cat-tiles > *, .grid-section .steps3 > *,
  #anlaesse .occasions > * { scroll-snap-align: start; min-width: 0; }
  .grid-section .steps3 { grid-auto-columns: 78%; }
  .usp-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 0.8rem; }
  .usp-bar .usp { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .usp-bar .usp span { font-size: 0.8rem; line-height: 1.35; }
  .room-section .room-video { aspect-ratio: 16 / 10; height: auto; max-height: 240px; object-fit: cover; }
  .grid-section .product-grid { grid-auto-columns: 50%; }
  .grid-section .cat-tiles { grid-auto-columns: 60%; }
  /* tighter rhythm: bands 48/54 → 32/36, stacked margins halved */
  main > .band { padding-top: 32px; padding-bottom: 36px; }
  main > .about-strip { margin-block: 0; }
  .content-sections > section { margin-top: 44px; }
  /* the slogan card is pure mood — on a phone the moment section says it */
  main > .editorial-moment { display: none; }
  .moment-section { gap: 1.2rem; padding-block: 2rem 2.2rem; }
  .moment-section img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
  .moment-section > div > p { margin-bottom: 0.7rem; }
  /* USPs: one compact row each (icon left) instead of 2×2 cards with wrapped copy */
  .usp-bar { display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: 74%; gap: 0.6rem; margin-top: 20px; overflow-x: auto;
    scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 0.4rem;
    scroll-padding-inline: 16px; scrollbar-width: none; }
  .usp-bar::-webkit-scrollbar { display: none; }
  .usp-bar .usp { flex-direction: row; align-items: flex-start; gap: 0.7rem;
    padding: 0.8rem 0.9rem; scroll-snap-align: start; min-width: 0; }
  /* six style cards: a third more per screen */
  .style-strip-list li { flex-basis: 34%; }
  .style-strip h2 { margin-bottom: 1rem; }
  .style-strip-note { margin-top: 0.8rem; }
  /* gift section: the picture as a wide band, not a second hero */
  .gift-section { gap: 1.2rem; }
  .gift-section > img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; }
  /* about strip: the workshop photo as a wide band */
  main > .about-strip { gap: 1.2rem; }
  main > .about-strip img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; max-width: none; }
  /* hero: date + place side by side, the button below */
  .hero-handoff { grid-template-columns: 1fr 1.2fr; gap: 0.6rem 0.5rem; }
  .hero-handoff .btn-cta, .hero-handoff .hf-err { grid-column: 1 / -1; }
  /* #korrekt repeats the hero render; the "how" paragraph repeats the steps */
  #korrekt .correct-grid > img { display: none; }
  .moment-section > div > p:nth-of-type(2) { display: none; }
  .nl-section > p { margin-bottom: 0.8rem; }
  .nl-section > p.nl-note { margin-bottom: 0; }
  /* footer: same content, tighter rhythm */
  footer.brandfoot { margin-top: 0; padding-top: 32px; }
  footer.brandfoot .foot-grid { gap: 1rem 1rem; }
  footer.brandfoot .foot-brand p { margin: 0.5rem 0; }
  footer.brandfoot .foot-col strong { margin-bottom: 0.4rem; }
  footer.brandfoot .foot-meta { margin-top: 1rem; }
  footer.brandfoot .foot-langs { margin-top: 1rem; }
}

/* ── v11 R3 (critic r3): every tap target ≥ 44 px ──────────────────── */
header.site .cart-link, header.site .mobilenav > summary {
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
#c-yes, #c-no { min-height: 44px; }
.ab-idea { min-height: 44px; }
