/* Das Objekt, groß: der graue Bauernschrank steht im Kopf zwischen den Zeilen der Überschrift.
   Ein Schriftschnitt, Flächen statt Linien, keine Schatten. */
:root {
  --bg: #F1EBE1;          /* warmer Cremeton, Astrids Wunsch */
  --bg-2: #E6DDCF;
  --deep: #44473F;        /* Gräsergrau, abgedunkelt für hellen Text */
  --ink: #3B2F28;         /* Braun aus dem Logo */
  --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);
  --step-hero: clamp(4rem, 5.8vw, 5.75rem);
  --m: clamp(16px, 2.6vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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, figure { margin: 0; }
h1, h2 { font-weight: 300; letter-spacing: -.04em; line-height: .95; text-wrap: balance; }
h3 { font-weight: 500; font-size: var(--step-lead); line-height: 1.2; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.wrap { padding-inline: var(--m); }
.block { padding-top: clamp(120px, 13vw, 220px); }
.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: 0; border-radius: 999px; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.btn:hover { background: #241C17; transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.link { font-weight: 500; text-decoration-thickness: 1.5px; transition: text-underline-offset .2s; }
.link:hover { text-underline-offset: 7px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopf */
.hero { position: relative; min-height: 100svh; background: var(--deep); color: var(--light); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.bar { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: var(--m); gap: 16px; }
.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; gap: 28px; }
.bar nav a { text-decoration: none; padding: 8px 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); }
.stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.cabinet { position: relative; height: 66svh; aspect-ratio: 3 / 4; perspective: 1800px; border: 0; padding: 0; background: #2F302C; cursor: pointer; margin-bottom: 7svh; }
.cabinet .inside { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.door { position: absolute; top: 0; bottom: 0; width: 50%; background-image: var(--tuer); background-size: 200% 100%; transition: transform 1.3s cubic-bezier(.6, .05, .2, 1); }
.door.l { left: 0; background-position: left center; transform-origin: left center; }
.door.r { right: 0; background-position: right center; transform-origin: right center; }
.cabinet[aria-pressed="true"] .door.l { transform: rotateY(-84deg); }
.cabinet[aria-pressed="true"] .door.r { transform: rotateY(84deg); }
/* Überschrift vollständig über dem Schrank, nichts liegt auf dem Foto */
.hero h1 { font-family: "Pacifico", cursive; font-weight: 400; font-size: min(6.5vw, 78px); letter-spacing: 0; line-height: 1.3; white-space: nowrap; text-align: center; padding-inline: var(--m); margin: 2svh 0 4svh; color: var(--light); }
/* Zweite Zeile der Überschrift: sagt in normaler Schrift, was es hier gibt */
.hero h1 .unterzeile { display: block; font: 400 var(--step-body)/1.4 var(--font); letter-spacing: .01em; white-space: normal; opacity: .9; }
.hint { position: absolute; z-index: 4; left: 50%; bottom: 3svh; transform: translateX(-50%); background: var(--light); color: var(--ink); border: 0; border-radius: 999px; min-height: 44px; padding: 0 20px; font: 500 var(--step-small) var(--font); cursor: pointer; transition: transform .2s var(--ease); }
.hint:hover { transform: translateX(-50%) translateY(-2px); }
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .bar { grid-template-columns: 1fr auto auto; row-gap: 4px; }
  .bar nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 0 22px; }
  .bar nav a { padding: 10px 0; }
  .hero h1 { margin-top: 5svh; }
  .cabinet { height: min(52svh, 112vw); }
  .hero h1 { padding-inline: 16px; }
  .hero h1 { font-size: calc((100vw - 32px) / 11); }
}

/* Laufband */
.ticker { background: var(--ink); color: var(--light); position: relative; }
.ticker-view { overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.paused .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tick { display: flex; flex-direction: column; gap: 10px; padding: 22px 0 18px 20px; white-space: nowrap; text-decoration: none; }
.tick img { align-self: flex-start; height: clamp(150px, 15vw, 220px); width: auto; max-width: clamp(240px, 24vw, 352px); object-fit: cover; transition: transform .4s var(--ease); }
.tick:hover img, .tick:focus-visible img { transform: scale(1.04); }
.tick b { font-weight: 500; font-size: var(--step-small); }
.tick:hover b { text-decoration: underline; text-underline-offset: 4px; }
.ticker-toggle { position: absolute; right: 0; bottom: 0; min-height: 44px; padding: 0 var(--m); border: 0; background: var(--ink); color: var(--light); font: 500 var(--step-small) var(--font); cursor: pointer; }

/* Möbelstücke: Liste mit Bildpunkten */
.cat { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin: 0 0 40px; }
.cat h2 { font-size: var(--step-head); }
.cat + .menu { margin-bottom: 96px; }
.menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.menu article { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: start; }
.menu .line span:first-child { min-width: 0; hyphens: auto; overflow-wrap: anywhere; }
.menu .line span:last-child { white-space: nowrap; }
.menu img, .menu .dot { width: 88px; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: var(--bg-2); }
.menu .dot { background: var(--bg-2); }
.menu .line { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; font-size: var(--step-lead); line-height: 1.2; }
.menu p { margin-top: 6px; max-width: 38ch; }
.menu .more { position: relative; z-index: 1; display: inline-block; margin-top: 8px; }
.menu article { position: relative; }
.menu .to { text-decoration: none; min-width: 0; hyphens: auto; overflow-wrap: anywhere; }
.menu .to::after { content: ""; position: absolute; inset: 0; }
.menu article:hover .to { text-decoration: underline; text-underline-offset: 5px; }
.menu .note { color: #6B5F55; font-size: var(--step-small); }
@media (max-width: 960px) { .menu { grid-template-columns: minmax(0, 1fr); gap: 32px; } .menu p { max-width: 60ch; } }
@media (max-width: 560px) { .menu article { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; } .menu img, .menu .dot { width: 64px; } }

/* Aufarbeitung: Kacheln, die wachsen (aus Entwurf A übernommen) */
.grow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; align-items: end; }
.grow h2 { grid-column: 1 / 8; grid-row: 1; align-self: start; font-size: var(--step-head); }
.step { display: flex; flex-direction: column; gap: 14px; }
.step .tile { position: relative; background: var(--c); display: grid; place-items: center; overflow: hidden; }
.step .tile img { position: absolute; inset: 9% 0; margin: auto; width: auto; height: 82%; aspect-ratio: 3 / 4; object-fit: contain; transition: transform .6s var(--ease); }
.step:hover .tile img { transform: scale(1.04); }
.step:nth-of-type(1) { grid-column: 1 / 4; grid-row: 2; } .step:nth-of-type(1) .tile { height: 30vh; }
.step:nth-of-type(2) { grid-column: 4 / 8; grid-row: 2; } .step:nth-of-type(2) .tile { height: 44vh; }
.step:nth-of-type(3) { grid-column: 8 / 13; grid-row: 1 / 3; } .step:nth-of-type(3) .tile { height: 60vh; }
@media (max-width: 860px) {
  .grow { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .step .tile { height: auto !important; }
  .step:nth-of-type(1) .tile { aspect-ratio: 100 / 80; } .step:nth-of-type(2) .tile { aspect-ratio: 100 / 90; } .step:nth-of-type(3) .tile { aspect-ratio: 1 / 1; }
}

/* Vorher-nachher */
.vn-row { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 14px; align-items: center; }
.vn-row h2 { font-size: var(--step-head); }
.vn-row p { margin-top: 20px; max-width: 32ch; }
.vn-row .btn { margin-top: 28px; }
.vn { --pos: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.vn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vn .vorher { filter: sepia(.75) saturate(.55) brightness(.68); }
.vn .nachher { clip-path: inset(0 0 0 var(--pos)); }
.vn-tag { position: absolute; top: 14px; z-index: 2; background: var(--bg); padding: 4px 14px; border-radius: 999px; font-size: var(--step-small); font-weight: 500; }
.vn-tag.l { left: 14px; } .vn-tag.r { right: 14px; }
.vn-grip { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--bg); z-index: 3; pointer-events: none; }
.vn-grip::after { content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B2F28' stroke-width='2'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 24px no-repeat; transition: transform .2s var(--ease); }
.vn:hover .vn-grip::after { transform: scale(1.1); }
.vn input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.vn input:focus-visible ~ .vn-grip::after { outline: 3px solid var(--ink); outline-offset: 2px; }
.vn-note { margin-top: 10px; font-size: var(--step-small); }
@media (max-width: 860px) { .vn-row { grid-template-columns: minmax(0, 1fr); } }

/* Über mich: Astrids Text neben dem Pinsel-Foto aus dem Logo */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 96px); align-items: start; }
.about figure { position: sticky; top: 24px; }
.about figure img { width: 100%; }
.about h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); }
.about .text { display: grid; gap: 16px; max-width: 60ch; margin-top: 32px; }
.about .lead { font-size: var(--step-lead); line-height: 1.35; }
.about .motto { margin-top: 40px; font-family: "Pacifico", cursive; font-size: clamp(1.375rem, 1rem + 1.4vw, 2.25rem); line-height: 1.4; max-width: 30ch; }
.about .gruss { margin-top: 8px; }
.about .unterschrift { margin-top: 6px; font-family: 'Yellowtail', cursive; font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem); line-height: 1.1; color: var(--ink); transform: rotate(-4deg); transform-origin: left center; }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } .about figure { position: static; max-width: 560px; } }

/* Fragen neben einem hohen Foto */
.faq { background: var(--bg-2); margin-top: clamp(120px, 13vw, 220px); overflow: hidden; display: grid; grid-template-columns: 5fr 7fr; gap: 0 clamp(32px, 5vw, 96px); padding: 0 var(--m) 96px; }
.faq .col { padding-top: 96px; }
.faq h2 { font-size: var(--step-head); }
.faq .known { margin: 24px 0 36px; display: grid; gap: 4px; }
.faq details { padding-bottom: 28px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.faq details p { max-width: 46ch; margin-top: 6px; }
.faq .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 16px; }
.faq .pics { position: relative; }
.faq .tall { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-top: -80px; }
.faq .square { position: absolute; left: -40px; bottom: 40px; width: 34%; aspect-ratio: 1 / 1; object-fit: cover; border: 10px solid var(--bg-2); }
@media (max-width: 860px) {
  .faq { grid-template-columns: minmax(0, 1fr); padding-bottom: 64px; }
  .faq .pics { order: -1; }
  .faq .tall { margin-top: 0; aspect-ratio: 5 / 4; }
  .faq .square { left: auto; right: -6px; bottom: -24px; width: 38%; }
  .faq .col { padding-top: 56px; }
  .faq .actions .btn { width: 100%; }
}

/* Galerie: aufgearbeitete Möbelstücke aus der Ausstellung, über die ganze Breite */
.gallery-head { max-width: 900px; margin: 0 auto 56px; padding-inline: var(--m); text-align: center; }
.gallery-head h2 { font-size: var(--step-head); }
.gallery-head p { margin-top: 20px; font-size: var(--step-lead); line-height: 1.35; text-wrap: balance; }
.galerie { display: grid; grid-template-columns: repeat(var(--spalten, 4), minmax(0, 1fr)); gap: 8px; padding-inline: 8px; }
.galerie figure { overflow: hidden; background: var(--bg-2); }
.galerie figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; }
@media (max-width: 860px) { .galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); } .galerie figure:nth-child(n+17) { display: none; } }
@media (max-width: 560px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } .galerie figure:nth-child(n+13) { display: none; } }

/* Besuchskarte auf einem Foto */
.visit { position: relative; height: 100svh; min-height: 720px; overflow: hidden; }
.visit .fade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.visit .fade.on { opacity: 1; }
.vcard { position: absolute; z-index: 2; top: 60px; right: 60px; width: 400px; background: var(--bg); padding: 32px 32px 0; display: flex; flex-direction: column; gap: 14px; border-radius: 8px; overflow: hidden; max-height: calc(100% - 120px); overflow-y: auto; }
.vcard h2 { font-size: var(--step-lead); font-weight: 400; letter-spacing: -.02em; }
.vcard .rows { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; font-variant-numeric: tabular-nums; }
.vcard .rows span:nth-child(even) { text-align: right; }
.vcard .tel { font-size: var(--step-lead); font-weight: 500; text-decoration: none; }
.vcard .tel:hover { text-decoration: underline; }
.vcard details summary { cursor: pointer; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.vcard form { display: grid; gap: 10px; padding-bottom: 8px; }
.vcard input, .vcard select, .vcard textarea { width: 100%; min-height: 48px; border: 0; background: var(--bg-2); padding: 0 12px; font: 400 var(--step-body) var(--font); color: var(--ink); border-radius: 4px; }
.vcard textarea { padding-block: 10px; min-height: 84px; resize: vertical; }
.vcard input[type=file] { padding: 12px; }
.vcard input:focus, .vcard select:focus, .vcard textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.vcard .file-label { font-size: var(--step-small); }
.vcard form button { min-height: 48px; border: 0; border-radius: 999px; background: var(--deep); color: var(--light); font: 500 var(--step-body) var(--font); cursor: pointer; }
.vcard .book { margin: 8px -32px 0; min-height: 56px; border-radius: 0; width: calc(100% + 64px); }
@media (max-width: 760px) {
  .visit { height: auto; min-height: 0; overflow: visible; padding-bottom: 64px; }
  .visit .stack { position: relative; height: 70svh; overflow: hidden; }
  .vcard { position: relative; top: auto; right: auto; width: auto; margin: -80px 16px 0; max-height: none; }
}

/* Rückseite der Karte */
.foot { background: var(--deep); padding: 120px var(--m) 64px; margin-top: 0; }
.postcard { position: relative; margin: 0 8.33%; background: var(--bg); padding: 72px 56px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.postcard::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 48px; background: radial-gradient(circle at 50% 100%, var(--bg) 24px, transparent 25px) 0 0 / 100px 48px repeat-x; } /* bewusst: Wellenkante der Karte */
.postcard .say h2 { font-size: var(--step-lead); font-weight: 400; letter-spacing: -.02em; }
.postcard .say p { margin-top: 14px; max-width: 34ch; }
.postcard .say img { margin-top: 28px; width: min(280px, 100%); }
.postcard .addr { display: grid; gap: 12px; align-content: start; position: relative; }
.postcard .addr a { text-decoration: none; }
.postcard .addr a:hover { text-decoration: underline; }
.sozial { display: inline-flex; align-items: center; gap: 10px; }
.sozial svg { flex: none; }
.postcard .stamp { position: absolute; top: -48px; right: 0; width: 104px; transform: rotate(8deg); }
.postcard .imprint { grid-column: 1 / -1; text-align: center; font-size: var(--step-small); }
@media (max-width: 760px) {
  .postcard { margin: 0; grid-template-columns: minmax(0, 1fr); padding: 56px 24px 32px; }
  .postcard::before { background-size: 64px 48px; }
  .postcard .stamp { width: 76px; top: -36px; }
}

/* Bewegung */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 75ms); }
.js [data-rise].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::after { animation: none !important; transition: none !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  .door { transition: transform .6s ease !important; } /* bewusst: die Türen gehen auch hier sichtbar auf, nur kürzer */
  /* Laufband auf Wunsch auch hier, aber dreimal langsamer; Anhalten bleibt möglich */
  .ticker-track { animation: tick 210s linear infinite !important; }
  .ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.paused .ticker-track { animation-play-state: paused !important; }
}
/* --- Ergaenzungen fuer den Shop (tools/assets.mjs) --- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hinweis { padding: 14px 16px; font-weight: 500; }
.form-hinweis.ok { background: var(--bg); color: var(--ink); }
.form-hinweis.fehler { background: #F6D9D2; color: #5A1E12; }
.feld-fehler { font-size: var(--step-small); font-weight: 500; margin-top: -4px; }
.badge-reserviert { display: inline-block; font-size: var(--step-small); font-weight: 500; padding: 2px 10px; background: var(--bg-2); color: var(--ink); }
.leer-hinweis { max-width: 46ch; }
.vn.echt .vorher { filter: none; }
/* Echte Paare sind Hochformat und auf 5:8 zugeschnitten: ganzes Möbelstück, mittig, nicht höher als der Bildschirm */
.vn.echt { aspect-ratio: 5 / 8; width: min(100%, 50svh); margin-inline: auto; }
.vn.echt ~ .vn-note, .vn.echt ~ .vn-auswahl { width: min(100%, 50svh); max-width: none; margin-inline: auto; }
.vn-auswahl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vn-auswahl button { min-height: 44px; padding: 0 16px; border: 0; background: var(--bg-2); color: var(--ink); font: 500 var(--step-small) var(--font); cursor: pointer; }
.vn-auswahl button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.vcard .form-hinweis.ok { background: var(--bg-2); }
.verkauft-liste .line span:last-child { font-size: var(--step-small); }

