/* Unterseite eines Möbelstücks im Stil von Entwurf C */
:root {
  --bg: #F1EBE1; --bg-2: #E6DDCF; --deep: #44473F; --ink: #3B2F28; --light: #F1EBE1;
  --font: 'Newsreader', Georgia, serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --step-lead: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.4vw, 4.25rem);
  --m: clamp(16px, 2.6vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.6 var(--font); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2 { font-weight: 300; letter-spacing: -.04em; line-height: .95; text-wrap: balance; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--ink); color: var(--light); font: 500 var(--step-body) var(--font); text-decoration: none; border-radius: 999px; transition: transform .2s var(--ease), background .2s; }
.btn:hover { background: #241C17; transform: translateY(-2px); }
.link { font-weight: 500; text-decoration-thickness: 1.5px; transition: text-underline-offset .2s; }
.link:hover { text-underline-offset: 7px; }

.bar { background: var(--deep); color: var(--light); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: var(--m); }
.bar .logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.bar .logo img { width: clamp(60px, 5.5vw, 76px); }
.bar nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.bar nav a { text-decoration: none; padding: 10px 0; }
.bar nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.tab-call { justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; background: var(--light); color: var(--ink); padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 500; transition: transform .2s var(--ease); }
.tab-call svg { flex: none; }
.tab-call:hover { transform: translateY(-2px); }
.crumbs { padding: 20px var(--m) 0; font-size: var(--step-small); }

.item { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 96px); padding: 20px var(--m) 0; align-items: start; }
.item > * { min-width: 0; }
.view { position: relative; background: var(--bg-2); }
.view.leer { width: 100%; background: var(--c); aspect-ratio: 4 / 5; max-height: 82vh; display: grid; place-items: center; }
.view.leer p { background: var(--light); padding: 4px 16px; border-radius: 999px; font-weight: 500; }
.view img { width: 100%; aspect-ratio: 4 / 5; max-height: 82vh; object-fit: contain; touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
.nav-btn { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: var(--light); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease); }
.nav-btn:hover { transform: scale(1.08); }
.prev { left: 14px; } .next { right: 14px; }
.count { position: absolute; right: 14px; bottom: 14px; background: var(--light); padding: 4px 14px; border-radius: 999px; font-size: var(--step-small); font-weight: 500; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px 8px; margin-top: 8px; padding-bottom: 8px; }
.thumbs button { position: relative; flex: none; width: 84px; padding: 0; border: 0; background: var(--bg-2); cursor: pointer; opacity: .55; transition: opacity .2s; }
.thumbs button:hover, .thumbs button[aria-current="true"] { opacity: 1; }
.thumbs button[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--ink); }
.thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.view video { cursor: pointer; touch-action: pan-y; display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 82vh; object-fit: contain; background: var(--bg-2); }
.view [hidden] { display: none; }
.thumbs .spiel { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(59, 47, 40, .72); color: var(--light); display: grid; place-items: center; padding-left: 2px; }

.info h1 { font-size: var(--step-head); hyphens: auto; overflow-wrap: break-word; }
.price { display: flex; align-items: baseline; gap: 14px; margin-top: 22px; }
.price strong { font-weight: 300; font-size: var(--step-head); letter-spacing: -.03em; }
.price small, .kaufleiste small, .preis-hinweis { color: #6B5F55; font-size: var(--step-small); }
.preis-hinweis { margin-top: 24px; }
.meta { margin-top: 6px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.info h2 { font-size: var(--step-lead); font-weight: 400; letter-spacing: -.02em; margin: 56px 0 16px; }
.specs { display: grid; gap: 6px; font-size: var(--step-body); }
.specs div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; }
.specs dt { font-weight: 300; }
.specs dd { font-weight: 500; }
.desc { max-width: 60ch; }
.desc p + p { margin-top: 14px; }
.buy-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.buy-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
.buy-list b { font-weight: 500; }
.buy-list span { text-align: justify; hyphens: auto; text-wrap: pretty; } /* pretty: kein einzelnes Wort allein in der letzten Zeile */

.more { padding: clamp(120px, 13vw, 220px) var(--m) 0; }
.more h2 { font-size: var(--step-head); margin-bottom: 40px; }
.menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.menu article { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: start; }
.menu img, .menu .dot { width: 88px; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: var(--bg-2); }
.menu .dot { background: var(--c); }
.menu .line { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; font-size: var(--step-lead); line-height: 1.2; }
.menu .line a { text-decoration: none; min-width: 0; }
.menu .line span { white-space: nowrap; }
.menu .line a::after { content: ""; position: absolute; inset: 0; }
.menu article:hover .line a { text-decoration: underline; text-underline-offset: 5px; }
.menu p { margin-top: 6px; }

.foot { margin-top: clamp(120px, 13vw, 220px); background: var(--deep); color: var(--light); padding: 64px var(--m); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.foot .slogan { font-family: "Pacifico", cursive; font-size: clamp(1.75rem, 1rem + 3vw, 3.25rem); line-height: 1.3; white-space: nowrap; }
.foot nav { display: grid; gap: 2px; }
.foot nav a { text-decoration: none; padding-block: 4px; }
.foot nav a:hover { text-decoration: underline; }
.sozial { display: inline-flex; align-items: center; gap: 10px; }
.sozial svg { flex: none; }

@media (max-width: 960px) { .menu { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 860px) {
  .bar { grid-template-columns: 1fr auto auto; row-gap: 4px; }
  .bar nav { grid-column: 1 / -1; grid-row: 2; gap: 0 22px; }
  .item { grid-template-columns: minmax(0, 1fr); }
  .view img, .view video { aspect-ratio: 1 / 1; max-height: 48vh; }
  .view.leer { max-height: 44vh; }
  .info h2 { margin-top: 44px; }
}
@media (max-width: 560px) {
  .buy-list li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .menu article { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .menu img, .menu .dot { width: 64px; }
  .nav-btn { width: 44px; height: 44px; margin-top: -22px; }
  .prev { left: 8px; } .next { right: 8px; }
  .thumbs button { width: 48px; }
  .foot .slogan { font-size: calc((100vw - 32px) / 11); }
}
@media (min-width: 861px) { .gallery { position: sticky; top: 24px; } }
@media (prefers-reduced-motion: reduce) { *, *::after { transition: none !important; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Ergaenzungen fuer den Shop (tools/assets.mjs) --- */
.badge-reserviert { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; background: var(--bg-2); font-weight: 500; }
.textseite { max-width: 72ch; padding: 24px var(--m) 0; }
.textseite h1 { font-size: var(--step-head); margin-bottom: 32px; }
.textseite h2 { font-size: var(--step-lead); margin: 40px 0 10px; letter-spacing: -.01em; line-height: 1.2; }
.textseite p + p, .textseite p + ul, .textseite ul + p { margin-top: 12px; }
.textseite ul { list-style: disc; padding-left: 1.3em; }
.textseite li + li { margin-top: 6px; }
.textseite .btn { margin-top: 20px; }
.textseite .formular-muster { list-style: "– "; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Handy und Tablet: Preis und Reservieren bleiben unten sichtbar */
.kaufleiste { display: none; }
@media (max-width: 860px) {
  .kaufleiste { display: flex; transform: translateY(110%); transition: transform .25s ease; position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--m) calc(10px + env(safe-area-inset-bottom)); background: var(--bg); box-shadow: 0 -1px 0 var(--bg-2); } /* bewusst: Trennkante der festen Leiste */
  .kaufleiste.sichtbar { transform: none; }
  .kaufleiste strong { font-size: var(--step-lead); }
  body:has(.kaufleiste) { padding-bottom: 76px; }
}
