/* Shop: gemeinsame Gestaltung. Farben und Schriften wie auf den Postern. */

@font-face { font-family: "Cormorant"; src: url("fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("fonts/ebgaramond-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("fonts/pinyon.woff2") format("woff2"); font-display: swap; }

:root {
  --night: #0b1324;
  --night-2: #131d35;
  --night-line: rgba(239, 230, 214, 0.14);
  --paper: #f4efe6;
  --paper-2: #ebe4d8;
  --wall: #e6e0d6;
  --white: #fbf9f5;
  --ink: #17213a;
  --ink-soft: #4d566b;
  --ink-faint: #7c8394;
  --line: rgba(23, 33, 58, 0.13);
  --gold: #a9844f;
  --gold-light: #c9a66b;
  --cream: #efe6d6;
  --danger: #9b3b2f;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 3px;
  --shadow-poster: 0 1px 2px rgba(10, 14, 25, 0.12), 0 12px 28px rgba(10, 14, 25, 0.18), 0 40px 80px rgba(10, 14, 25, 0.16);
  /* Bewegung: eine Kurvenfamilie, ruhige Dauern */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);
  --t-fast: .22s;
  --t: .34s;
  --t-slow: .6s;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Seitenwechsel: sanft überblenden, die Kopfzeile bleibt stehen */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-raus .26s var(--ease-in) both; }
::view-transition-new(root) { animation: vt-rein .52s var(--ease-out) both; }
@keyframes vt-raus { to { opacity: 0; } }
@keyframes vt-rein { from { opacity: 0; transform: translateY(10px); } }
.site-head { view-transition-name: kopf; }
::view-transition-group(kopf) { animation-duration: .5s; animation-timing-function: var(--ease); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(48px, 7vw, 92px); font-weight: 400; }
h2 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 400; }
h3 { font-size: clamp(25px, 2.2vw, 30px); font-weight: 500; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-soft); max-width: 34em; }

/* Einblenden beim Hineinscrollen (site.js setzt .in) */
.js [data-reveal] { opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease-out) var(--reveal-delay, 0s), transform 1.1s var(--ease-out) var(--reveal-delay, 0s), box-shadow var(--t-slow) var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius); border: 1px solid transparent;
  font: 500 15px/1 var(--sans); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease), transform var(--t-fast) var(--ease), opacity var(--t) var(--ease);
}
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #22305a; box-shadow: 0 8px 22px rgba(23, 33, 58, .18); }
.btn-primary.ok { background: #2f4f3c; }
.btn-light { background: var(--cream); color: var(--night); }
.btn-light:hover { background: #fff7ea; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn svg { width: 18px; height: 18px; }

/* Kopfzeile */
.site-head { position: sticky; top: 0; z-index: 50; transition: background-color .45s var(--ease), box-shadow .45s var(--ease), color .45s var(--ease); }
.site-head .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.site-head.dark { color: var(--cream); }
.site-head.scrolled { background: rgba(244, 239, 230, 0.94); color: var(--ink); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-head.dark.scrolled { background: rgba(11, 19, 36, 0.92); color: var(--cream); box-shadow: 0 1px 0 var(--night-line); }
.brand { font: 500 27px/1 var(--serif); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; }
.brand span { font-style: italic; font-weight: 400; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  font-size: 15px; text-decoration: none; opacity: .82; padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: opacity var(--t) var(--ease), background-size .5s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; background-size: 100% 1px; }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; text-decoration: none; transition: opacity var(--t) var(--ease); }
.cart-link:hover { opacity: .75; }
.cart-link svg { width: 23px; height: 23px; }
.cart-count {
  position: absolute; top: 4px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--gold); color: var(--white); font: 600 11px/18px var(--sans); text-align: center;
}
.cart-count:empty { display: none; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform var(--t) var(--ease); transform-origin: center; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
         background: var(--paper); color: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.12); display: none;
         opacity: 0; translate: 0 -10px;
         transition: opacity .3s var(--ease), translate .4s var(--ease-out), display .4s allow-discrete; }
  .nav.open { display: flex; opacity: 1; translate: 0 0; }
  @starting-style { .nav.open { opacity: 0; translate: 0 -10px; } }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; background: none; }
  .nav a[aria-current="page"] { font-weight: 500; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-head .wrap { gap: 8px; }
}

/* Abschnitte */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--ink-soft); max-width: 30em; }
.dark-section { background: var(--night); color: var(--cream); }
.dark-section .lead, .dark-section .section-head p { color: rgba(239, 230, 214, 0.74); }
.muted { color: var(--ink-faint); }

/* Startseite: Hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--cream); margin-top: -76px; padding-top: 76px; }
.hero-sky { position: absolute; width: 1700px; height: 1700px; left: 62%; top: 50%; translate: -50% -50%; opacity: .33;
            animation: sky-turn 420s linear infinite, sky-fade 2.4s var(--ease-out) both; pointer-events: none; }
@keyframes sky-turn { to { rotate: -360deg; } }
@keyframes sky-fade { from { opacity: 0; } }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
               background: radial-gradient(120% 90% at 20% 50%, rgba(11,19,36,.92) 25%, rgba(11,19,36,.35) 70%, rgba(11,19,36,.75) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px);
              align-items: center; min-height: min(92vh, 900px); padding-top: 40px; padding-bottom: 72px; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { color: rgba(239, 230, 214, 0.78); margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; font-size: 14px; color: rgba(239, 230, 214, 0.7); }
.hero-facts span { display: inline-flex; gap: 9px; align-items: center; }
.hero-facts svg { width: 16px; height: 16px; color: var(--gold-light); }
.hero-posters { position: relative; height: min(76vh, 720px); }
.hero-posters img { position: absolute; width: auto; height: 88%; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 6px 18px rgba(0,0,0,.35); }
.hero-posters .back { right: 0; top: 0; height: 74%; opacity: .96; }
.hero-posters .front { left: 4%; bottom: 0; }
/* Auftritt beim Laden */
.hero h1, .hero .lead, .hero-actions, .hero-facts { animation: auftritt 1.1s var(--ease-out) both; }
.hero .lead { animation-delay: .08s; }
.hero-actions { animation-delay: .16s; }
.hero-facts { animation-delay: .24s; }
.hero-posters .back { animation: auftritt-poster 1.5s var(--ease-out) .12s both; }
.hero-posters .front { animation: auftritt-poster 1.5s var(--ease-out) .28s both; }
@keyframes auftritt { from { opacity: 0; transform: translateY(16px); } }
@keyframes auftritt-poster { from { opacity: 0; transform: translateY(28px) scale(.985); } }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; }
  .hero-posters { height: 520px; }
  .hero-sky { left: 50%; top: 70%; }
}
@media (max-width: 560px) { .hero-posters { height: 420px; } }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.step { border-top: 1px solid var(--line); padding-top: 26px; }
.step::before { counter-increment: step; content: counter(step); display: block; font: italic 400 46px/1 var(--serif); color: var(--gold); margin-bottom: 18px; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--ink-soft); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Farbwelten */
.themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.theme-card { text-decoration: none; }
.theme-card .frame { background: var(--wall); padding: 14% 12%; transition: background-color var(--t-slow) var(--ease); }
.theme-card:hover .frame { background: #ddd5c8; }
.theme-card img { box-shadow: var(--shadow-poster); width: 100%; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.theme-card:hover img { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(10,14,25,.12), 0 18px 36px rgba(10,14,25,.2), 0 50px 90px rgba(10,14,25,.16); }
.theme-card h3 { font-size: 22px; margin-top: 14px; }
.theme-card p { font-size: 14px; color: var(--ink-faint); }
@media (max-width: 1000px) { .themes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .themes { grid-template-columns: repeat(2, 1fr); } }

/* Produkte */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1100px) { .products { grid-template-columns: repeat(2, 1fr); } }
.product-tile { position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--white);
                transition: box-shadow var(--t-slow) var(--ease); }
.product-tile:hover { box-shadow: 0 18px 40px rgba(10, 14, 25, .08); }
.product-tile .visual { background: var(--wall); aspect-ratio: 4 / 3.3; display: grid; place-items: center; overflow: hidden; }
.product-tile .visual img { height: 82%; width: auto; box-shadow: var(--shadow-poster); transition: transform .8s var(--ease-out); }
.product-tile:hover .visual img { transform: translateY(-6px) scale(1.015); }
.product-tile .text { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.product-tile .text p { color: var(--ink-soft); }
.product-tile .price { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.product-tile .price strong { font: 500 22px/1 var(--serif); }
.product-tile .go { font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 1px;
                    transition: background-size .5s var(--ease-out), letter-spacing .5s var(--ease-out); }
.product-tile:hover .go { letter-spacing: .02em; }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }

/* Detail-Abschnitt */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split img { width: 100%; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.facts { display: grid; gap: 22px; margin-top: 36px; }
.fact { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.fact svg { width: 24px; height: 24px; color: var(--gold-light); margin-top: 3px; }
.fact strong { display: block; font-weight: 500; margin-bottom: 2px; }
.dark-section .fact p { color: rgba(239, 230, 214, 0.72); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Fragen: Aufklappen mit weicher Höhe */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 500 24px/1.25 var(--serif); transition: color var(--t) var(--ease); }
.faq summary:hover { color: #2c3a63; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
                      border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); rotate: 45deg;
                      transition: rotate .45s var(--ease-out), margin-top .45s var(--ease-out); }
.faq details[open] summary::after { rotate: 225deg; margin-top: -2px; }
.faq details::details-content { block-size: 0; overflow: hidden; opacity: 0;
  transition: block-size .5s var(--ease-out), opacity .4s var(--ease), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; opacity: 1; }
.faq details p { padding: 0 0 26px; color: var(--ink-soft); max-width: 46em; }

/* Fusszeile */
.site-foot { background: var(--night); color: rgba(239, 230, 214, 0.78); padding: 72px 0 40px; font-size: 15px; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--night-line); }
.site-foot .brand { color: var(--cream); display: inline-block; margin-bottom: 16px; }
.site-foot h4 { font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cream); margin: 4px 0 18px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-foot a { text-decoration: none; transition: color var(--t) var(--ease); }
.site-foot a:hover { color: var(--cream); }
.site-foot .fine { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(239, 230, 214, 0.55); }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr; } }

/* Gestalter */
.studio { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(380px, 1fr); min-height: calc(100vh - 76px); border-top: 1px solid var(--line); }
.stage { position: sticky; top: 76px; height: calc(100vh - 76px); overflow: hidden; isolation: isolate;
         background: radial-gradient(120% 90% at 50% 40%, #efeae1 0%, #e6e0d6 55%, #dad2c4 100%); }
.stage .progress { position: absolute; z-index: 3; top: 0; left: 0; height: 2px; width: 0; background: var(--gold); opacity: 0;
                   transition: width .5s var(--ease), opacity .6s var(--ease) .15s; }
.stage.loading .progress { width: 72%; opacity: 1; transition: width 2.6s cubic-bezier(.1,.6,.2,1), opacity .2s var(--ease); }

.stage .viewer { position: absolute; inset: 0; z-index: 1; }
.viewer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; outline: none;
                 touch-action: pan-y; cursor: grab; transition: opacity 1s var(--ease-out); }
.viewer-canvas.zieht { cursor: grabbing; }
.stage.is-3d .viewer-canvas { opacity: 1; }
.viewer-canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--gold); }

.stage .flat { position: absolute; inset: 0; display: grid; place-items: center; padding: 56px 48px 70px;
               transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.stage.is-3d .flat { opacity: 0; transform: scale(.985); pointer-events: none; }
.mock { position: relative; display: grid; box-shadow: var(--shadow-poster); background: var(--paper-2);
        transition: padding var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease); }
.mock img { grid-area: 1 / 1; display: block; max-height: min(calc(100vh - 76px - 190px), 860px); max-width: 100%; width: auto; height: auto;
            opacity: 0; transition: opacity .5s var(--ease); }
.mock img.on { opacity: 1; }
.mock.empty { aspect-ratio: 3 / 4; height: min(calc(100vh - 76px - 190px), 860px); animation: atmen 1.6s ease-in-out infinite alternate; }
.mock.empty[data-format="50x70"] { aspect-ratio: 5 / 7; }
@keyframes atmen { from { opacity: .5; } to { opacity: .85; } }
/* Rahmen und Aufhänger in der flachen Ansicht (falls 3D fehlt) */
.mock[data-ausf="rahmen"] { padding: 9px; background: linear-gradient(150deg, #2c2c2f, #121214 42%, #202023); }
.mock[data-ausf="rahmen"]::after { content: ""; position: absolute; inset: 9px; pointer-events: none;
                                   box-shadow: inset 0 2px 5px rgba(0,0,0,.42), inset 0 0 0 1px rgba(0,0,0,.25); }
.mock[data-ausf="aufhaenger"]::before, .mock[data-ausf="aufhaenger"]::after {
  content: ""; position: absolute; z-index: 1; left: -1.7%; right: -1.7%; height: 3.5%; border-radius: 2px;
  background: var(--holz); box-shadow: 0 2px 5px rgba(10, 14, 25, .28); }
.mock[data-ausf="aufhaenger"]::before { top: -1%; }
.mock[data-ausf="aufhaenger"]::after { bottom: -1%; }
.mock[data-leiste="natur"] { --holz: linear-gradient(180deg, #e4c8a0, #c7a073); }
.mock[data-leiste="schwarz"] { --holz: linear-gradient(180deg, #34312e, #191817); }
.mock[data-leiste="weiss"] { --holz: linear-gradient(180deg, #f8f6f1, #e2ddd3); }
.mock[data-leiste="dunkel"] { --holz: linear-gradient(180deg, #7a5539, #4c3021); }

.stage .zoom { position: absolute; z-index: 4; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 8px;
               background: rgba(251, 249, 245, .9); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 999px;
               padding: 9px 16px 9px 12px; font-size: 14px; cursor: pointer;
               transition: background-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t-fast) var(--ease); }
.stage .zoom:hover { background: var(--white); box-shadow: 0 6px 18px rgba(10,14,25,.12); }
.stage .zoom:active { transform: scale(.97); }
.stage .zoom svg { width: 17px; height: 17px; }
.stage .drag-hint { position: absolute; z-index: 4; left: 50%; bottom: 50px; translate: -50% 8px; display: inline-flex; align-items: center; gap: 8px;
                    margin: 0; padding: 8px 15px 8px 12px; border-radius: 999px; background: rgba(251, 249, 245, .82); backdrop-filter: blur(6px);
                    font-size: 13px; color: var(--ink-soft); opacity: 0; pointer-events: none; white-space: nowrap;
                    transition: opacity .7s var(--ease), translate .7s var(--ease-out); }
.stage .drag-hint svg { width: 16px; height: 16px; }
.stage.is-3d .drag-hint { opacity: 1; translate: -50% 0; transition-delay: 1.4s; }
.stage.is-3d .drag-hint.weg { opacity: 0; translate: -50% 6px; transition-delay: 0s; }
.stage .size-note { position: absolute; z-index: 4; bottom: 18px; left: 0; right: 0; margin: 0; text-align: center; font-size: 13px; color: var(--ink-faint); pointer-events: none; }

.panel { padding: 40px clamp(20px, 3vw, 48px) 0; background: var(--paper); transition: opacity .5s var(--ease); }
.js .panel:not(.bereit) { opacity: 0; }
.panel h1 { font-size: clamp(40px, 3.6vw, 52px); margin-bottom: 10px; }
.panel .intro { color: var(--ink-soft); margin-bottom: 30px; }
.group { border-top: 1px solid var(--line); padding: 26px 0 30px; }
.group > h2 { font: 500 24px/1.2 var(--serif); margin-bottom: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.group > h2 small { font: 400 13px/1 var(--sans); color: var(--ink-faint); letter-spacing: 0; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label, .field .label { font-size: 14px; font-weight: 500; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input, textarea.input {
  width: 100%; min-height: 50px; padding: 13px 15px; border: 1px solid rgba(23, 33, 58, 0.22); border-radius: var(--radius);
  background: var(--white); font-size: 16px; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), opacity var(--t) var(--ease);
}
textarea.input { min-height: 84px; resize: vertical; line-height: 1.45; }
.input:hover { border-color: rgba(23, 33, 58, 0.34); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(169, 132, 79, 0.18); }
.input:disabled { opacity: .5; }
.hint { font-size: 13px; color: var(--ink-faint); }
.error { font-size: 14px; color: var(--danger); }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; user-select: none; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }

.places { position: relative; }
.places ul { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); list-style: none; margin: 0; padding: 6px 0;
             background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(10,14,25,.14);
             transform-origin: top center; animation: liste-auf .26s var(--ease-out); }
@keyframes liste-auf { from { opacity: 0; transform: translateY(-4px) scaleY(.98); } }
.places li { padding: 10px 15px; cursor: pointer; font-size: 15px; transition: background-color var(--t-fast) var(--ease); }
.places li small { color: var(--ink-faint); margin-left: 6px; }
.places li[aria-selected="true"], .places li:hover { background: var(--paper); }

.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.swatch { background: none; border: 0; padding: 0; cursor: pointer; text-align: center; font-size: 13px; color: var(--ink-soft); transition: color var(--t) var(--ease); }
.swatch .chip { display: block; aspect-ratio: 3 / 4; border-radius: 2px; margin-bottom: 8px; position: relative; box-shadow: 0 0 0 0 var(--paper), 0 0 0 0 var(--ink), inset 0 0 0 1px rgba(0,0,0,.08);
                transition: box-shadow var(--t) var(--ease), transform .45s var(--ease-out); }
.swatch:hover .chip { transform: translateY(-2px); }
.swatch .chip::after { content: ""; position: absolute; left: 50%; top: 42%; width: 64%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
                       background: var(--sky); box-shadow: 0 0 0 1px var(--accent); }
.swatch[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.swatch[aria-pressed="true"] .chip { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink), inset 0 0 0 1px rgba(0,0,0,.08); }
@media (max-width: 520px) { .swatches { grid-template-columns: repeat(3, 1fr); } }

.fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.font-opt { border: 1px solid rgba(23, 33, 58, 0.18); background: var(--white); border-radius: var(--radius); padding: 14px 10px 10px; cursor: pointer; text-align: center;
            box-shadow: inset 0 0 0 0 var(--ink); transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease); }
.font-opt:hover { border-color: rgba(23, 33, 58, 0.36); }
.font-opt .sample { display: block; font-size: 25px; line-height: 1.2; height: 34px; overflow: hidden; }
.font-opt small { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-faint); }
.font-opt[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; cursor: pointer; }
.toggle input { appearance: none; width: 38px; height: 22px; border-radius: 11px; background: rgba(23,33,58,.2); position: relative; cursor: pointer;
                transition: background-color var(--t) var(--ease); flex: none; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white);
                       transition: translate .4s var(--ease-out), width .25s var(--ease); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.toggle input:active::after { width: 19px; }
.toggle input:checked { background: var(--ink); }
.toggle input:checked::after { translate: 16px 0; }
.toggle input:checked:active::after { translate: 13px 0; }
@media (max-width: 520px) { .toggles { grid-template-columns: 1fr; } }

.segments { display: flex; flex-wrap: wrap; gap: 8px; }
.segment { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px; border: 1px solid rgba(23, 33, 58, 0.22); background: var(--white);
           border-radius: var(--radius); cursor: pointer; font-size: 15px;
           transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t-fast) var(--ease); }
.segment:hover { border-color: rgba(23, 33, 58, 0.4); }
.segment:active { transform: scale(.98); }
.segment[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.segment.holz i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); flex: none; }
.segment.holz[aria-pressed="true"] i { box-shadow: 0 0 0 1.5px rgba(251,249,245,.8); }
.options { display: grid; gap: 10px; }
.option { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; text-align: left; padding: 16px 18px; border: 1px solid rgba(23, 33, 58, 0.18);
          background: var(--white); border-radius: var(--radius); cursor: pointer; box-shadow: inset 0 0 0 0 var(--ink);
          transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease), opacity var(--t) var(--ease), transform var(--t-fast) var(--ease); }
.option:hover:not([disabled]) { border-color: rgba(23, 33, 58, 0.36); }
.option:active:not([disabled]) { transform: scale(.995); }
.option strong { font-weight: 500; }
.option span { grid-column: 1; font-size: 14px; color: var(--ink-faint); }
.option b { grid-row: 1 / span 2; grid-column: 2; font: 500 21px/1 var(--serif); }
.option[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.option[disabled] { opacity: .45; cursor: not-allowed; }

.gut ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.gut li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.gut li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }
.gut li strong { display: block; color: var(--ink); font-weight: 500; }

.buybar { position: sticky; bottom: 0; background: rgba(244, 239, 230, 0.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
          padding: 18px 0 22px; margin-top: 8px; display: flex; align-items: center; gap: 18px; z-index: 5; }
.buybar .sum { line-height: 1.25; }
.buybar .sum strong { display: block; font: 500 30px/1 var(--serif); font-variant-numeric: tabular-nums; }
.buybar .sum span { font-size: 13px; color: var(--ink-faint); }
.buybar .btn { margin-left: auto; flex: 1; max-width: 300px; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(23, 33, 58, 0.22); border-radius: var(--radius); background: var(--white); }
.qty button { width: 40px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 18px; transition: background-color var(--t-fast) var(--ease); }
.qty button:hover { background: var(--paper); }
.qty output { min-width: 26px; text-align: center; font-weight: 500; }

.buybar .sum strong, .buybar .sum span, .buybar .btn { white-space: nowrap; }
.studio > * { min-width: 0; }
@media (max-width: 520px) {
  .buybar { gap: 12px; padding: 12px 0 14px; }
  .buybar .sum strong { font-size: 25px; }
  .buybar .sum span { font-size: 12px; }
  .buybar .qty { display: none; }
  .buybar .btn { min-height: 46px; padding: 0 16px; font-size: 14px; }
  .stage .zoom { top: 10px; right: 10px; padding: 7px 12px 7px 10px; font-size: 13px; }
}
@media (max-width: 960px) {
  /* Handy: die Vorschau bleibt oben stehen, während man darunter gestaltet */
  .studio { grid-template-columns: 1fr; --buehne: min(48svh, 440px); }
  .stage { position: sticky; top: 76px; z-index: 6; height: var(--buehne); box-shadow: 0 1px 0 var(--line);
           transition: height .45s var(--ease); }
  .tippen .studio { --buehne: min(27svh, 230px); }
  .tippen .stage .drag-hint, .tippen .stage .zoom, .tippen .stage .size-note { opacity: 0; pointer-events: none; transition-delay: 0s; }
  .stage .flat { padding: 36px 24px 52px; }
  .mock img { max-height: calc(var(--buehne) - 100px); }
  .mock.empty { height: calc(var(--buehne) - 100px); }
  .stage .drag-hint { bottom: 38px; padding: 6px 12px 6px 10px; font-size: 12px; }
  .stage .size-note { bottom: 12px; font-size: 12px; }
}
@media (max-width: 960px) and (max-height: 560px) { .stage { position: relative; top: 0; } }
@media (max-width: 960px) { html:has(.studio) { scroll-padding-top: calc(76px + min(27svh, 230px) + 16px); } }

/* Detailansicht */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; overflow: auto; padding: 4vh 4vw; background: rgba(11, 19, 36, .88);
            backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s var(--ease); cursor: zoom-out; overscroll-behavior: contain; }
.lightbox.open { opacity: 1; }
.lightbox img { margin: auto; max-width: 92vw; max-height: 92vh; width: auto; height: auto; box-shadow: 0 30px 80px rgba(0,0,0,.5);
                transform: translateY(14px) scale(.98); transition: transform .6s var(--ease-out); cursor: zoom-in; }
.lightbox.open img { transform: none; }
.lightbox img.gross { max-width: none; max-height: none; cursor: zoom-out; }
.lightbox-close { position: fixed; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(239,230,214,.3);
                  background: rgba(11,19,36,.5); cursor: pointer; transition: background-color var(--t) var(--ease); }
.lightbox-close::before, .lightbox-close::after { content: ""; position: absolute; left: 13px; right: 13px; top: 50%; height: 1.5px; background: var(--cream); rotate: 45deg; }
.lightbox-close::after { rotate: -45deg; }
.lightbox-close:hover { background: rgba(239,230,214,.12); }
.lightbox-offen { overflow: hidden; }

/* Warenkorb */
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; padding-top: 48px; padding-bottom: 96px; }
.cart h1 { font-size: clamp(42px, 5vw, 64px); margin-bottom: 30px; }
.cart-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.cart-item img { width: 120px; box-shadow: 0 6px 18px rgba(10,14,25,.18); }
.cart-item h3 { font-size: 24px; margin-bottom: 4px; }
.cart-item p { font-size: 15px; color: var(--ink-soft); }
.cart-item .actions { display: flex; gap: 16px; align-items: center; margin-top: 14px; font-size: 14px; }
.cart-item .actions button.link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; color: var(--ink-soft); transition: color var(--t) var(--ease); }
.cart-item .actions button.link:hover { color: var(--ink); }
.cart-item .line-price { font: 500 22px/1 var(--serif); white-space: nowrap; }
.summary { background: var(--white); padding: 28px; position: sticky; top: 100px; }
.summary h2 { font-size: 30px; margin-bottom: 18px; }
.summary .line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.summary .total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-weight: 500; font-size: 17px; }
.summary .total strong { font: 500 28px/1 var(--serif); }
.summary .btn { width: 100%; margin-top: 22px; }
.summary .pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: var(--ink-faint); }
.empty { padding: 40px 0; color: var(--ink-soft); }
@media (max-width: 900px) { .cart { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 520px) { .cart-item { grid-template-columns: 84px 1fr; } .cart-item img { width: 84px; } .cart-item .line-price { grid-column: 2; } }

/* Textseiten */
.page { padding: 56px 0 110px; }
.page .prose { max-width: 760px; }
.prose h1 { font-size: clamp(44px, 5vw, 64px); margin-bottom: 26px; }
.prose h2 { font-size: 30px; margin: 44px 0 14px; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 14px; }
.prose ul { padding-left: 20px; }
.draft-note { background: #f7ead2; border-left: 3px solid var(--gold); padding: 14px 18px; font-size: 15px; margin-bottom: 32px; }

/* Wer weniger Bewegung möchte, bekommt kurze Überblendungen statt Wege */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .hero-sky { animation: none; }
}
