/* VILORIA – Stylesheet */
@font-face { font-family: 'Bodoni Moda'; src: url('fonts/bodoni-moda.woff') format('woff'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('fonts/bodoni-moda-italic.woff') format('woff'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/jost.woff') format('woff'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #171614;
  --ink-2: #3A3A3A;
  --muted: #666666;
  --muted-2: #8A8A8A;
  --paper: #FFFFFF;
  --stone: #F4F4F4;
  --stone-2: #ECECEC;
  --line: #E6E6E6;
  --line-2: #D0D0D0;
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 3vw, 32px);
  --max: 1440px;
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.serif { font-family: var(--serif); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; transition: background .2s, color .2s; }
.btn:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* Ankündigung */
.announce { background: var(--paper); border-bottom: 1px solid var(--line); height: 34px; display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; overflow: hidden; padding: 0 16px; }
.announce span + span::before { content: '·'; margin-right: 18px; color: var(--muted-2); }
@media (max-width: 720px) { .announce span:not(:first-child) { display: none; } }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.hdr-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.main-nav { display: flex; gap: 26px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.main-nav a { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--ink); }
.main-nav .nav-sale { font-family: var(--serif); font-style: italic; letter-spacing: .08em; font-size: 14px; }
.logo img { height: 46px; width: auto; }
.hdr-right { display: flex; justify-content: flex-end; gap: 6px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; position: relative; }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.cart-count { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 10px; line-height: 17px; text-align: center; }
.cart-count[hidden] { display: none; }
.menu-btn { display: none; }
@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .logo img { height: 36px; }
  :root { --hdr: 64px; }
}

/* Drawer & Overlay */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(23,22,20,.38); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(440px, 100vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .38s var(--ease); }
.drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; }
.drawer-head { height: 64px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { flex: none; border-top: 1px solid var(--line); padding: 18px 22px 22px; display: grid; gap: 10px; }
.drawer-foot:empty { display: none; }
.nav-list { padding: 18px 0; }
.nav-list a { display: block; padding: 12px 0; font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.nav-sub { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }

/* Warenkorb-Zeilen */
.cart-line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .thumb { aspect-ratio: 3 / 4; overflow: hidden; }
.cart-line h3 { font-size: 15px; font-weight: 500; line-height: 1.35; }
.cl-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cl-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); height: 34px; }
.qty button { width: 32px; height: 32px; font-size: 16px; }
.qty span { min-width: 26px; text-align: center; font-size: 14px; }
.cl-remove { margin-top: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.cart-total strong { font-size: 18px; letter-spacing: 0; font-weight: 500; }
.cart-hint { font-size: 13px; color: var(--muted); text-align: center; }
.ship-bar { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.ship-bar i { position: absolute; inset: 0 auto 0 0; background: var(--ink); transition: width .4s var(--ease); }
.pay-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pay-row span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 3px 7px; color: var(--ink-2); }
.cart-empty { padding: 48px 0; text-align: center; display: grid; gap: 18px; justify-items: center; color: var(--ink-2); }

/* Suche */
.search-panel { position: fixed; top: 0; left: 0; right: 0; z-index: 70; background: #fff; max-height: 88vh; overflow-y: auto; transform: translateY(-102%); transition: transform .38s var(--ease); border-bottom: 1px solid var(--line); }
.search-panel.is-open { transform: none; }
.search-bar { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 76px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.search-bar input { flex: 1; border: 0; outline: 0; font-family: var(--serif); font-size: 26px; background: transparent; min-width: 0; }
.search-results { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 40px; }
.search-hint { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 760px); border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 64px var(--gutter) 64px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.hero h1 { font-family: var(--serif); font-size: clamp(50px, 6.4vw, 104px); line-height: .95; letter-spacing: -.01em; }
.hero h1 em { display: block; font-style: italic; }
.hero p { max-width: 380px; color: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 62vh; order: -1; }
  .hero-copy { padding: 40px var(--gutter) 48px; }
}

/* Platzhalterbilder (bis echte Fotos da sind) */
.ph { position: relative; width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; background: var(--ph-bg, #EDEBE7); color: var(--ph-fg, #171614); overflow: hidden; }
.ph::before { content: ''; position: absolute; inset: 14px; border: 1px solid currentColor; opacity: .14; }
.ph-word { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.2vw, 30px); opacity: .82; text-align: center; padding: 0 18px; line-height: 1.1; }
.ph-mark { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 10px; letter-spacing: .38em; text-transform: uppercase; opacity: .5; }
.ph--hero .ph-word { font-size: clamp(40px, 6.2vw, 112px); font-style: normal; letter-spacing: .12em; padding-left: .12em; opacity: .9; white-space: nowrap; }
.ph--hero .ph-sub { position: absolute; bottom: 34px; left: 0; right: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 20px; opacity: .7; }

/* Laufband */
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 16px 0; }
.ticker-track { display: inline-flex; gap: 46px; animation: ticker 38s linear infinite; font-family: var(--serif); font-size: 15px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); }
.ticker-track span { display: inline-flex; gap: 46px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Abschnitte */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); line-height: 1.02; }
.section-head h2 em { font-style: italic; }

/* Kategorie-Kacheln */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.split a { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #fff; }
.split a > img, .split a > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split a:hover > img, .split a:hover > .ph { transform: scale(1.03); }
.split-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; display: flex; justify-content: space-between; align-items: end; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.42)); }
.split-label.on-light { color: var(--ink); background: none; }
.split-label h3 { font-family: var(--serif); font-size: clamp(36px, 5vw, 64px); line-height: 1; }
.split-label span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid currentColor; }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } .split a { aspect-ratio: 4 / 4.4; } }

/* Produktraster */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 18px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; } }
.card { display: flex; flex-direction: column; gap: 12px; }
.card-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); }
.card-media > img, .card-media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1s var(--ease); }
.card-media > img.alt { opacity: 0; }
.card:hover .card-media > img.alt { opacity: 1; }
.card:hover .card-media > .ph { transform: scale(1.02); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; padding: 4px 8px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.badge--sale { background: var(--ink); color: #fff; }
.card-body { display: grid; gap: 3px; }
.card-meta { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 15px; line-height: 1.35; }
.price { font-size: 15px; font-weight: 500; display: inline-flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.price del { color: var(--muted-2); font-weight: 400; font-size: 13px; }
.price .save { font-size: 11px; letter-spacing: .1em; color: var(--ink-2); }
.dots { display: flex; gap: 6px; margin-top: 4px; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }

/* Editorial */
.editorial { display: grid; grid-template-columns: 1fr 1fr; background: var(--stone); }
.editorial-copy { padding: clamp(40px, 7vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 22px; max-width: 620px; }
.editorial-copy h2 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; }
.editorial-copy h2 em { font-style: italic; }
.editorial-copy p { color: var(--ink-2); }
.editorial-media { min-height: 460px; position: relative; }
.editorial-media > img, .editorial-media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 22px; justify-content: start; margin-top: 6px; }
.facts strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.facts span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; } .editorial-media { min-height: 340px; } .facts { grid-template-columns: 1fr 1fr 1fr; } }

/* Service-Leiste */
.usp { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usp ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp li { padding: 26px var(--gutter); border-right: 1px solid var(--line); display: grid; gap: 4px; }
.usp li:last-child { border-right: 0; }
.usp strong { font-weight: 500; font-size: 14px; }
.usp span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .usp ul { grid-template-columns: 1fr 1fr; } .usp li:nth-child(2) { border-right: 0; } .usp li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Kollektion */
.collection-head { padding: 44px 0 26px; display: grid; gap: 12px; }
.crumbs { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.collection-head h1 { font-family: var(--serif); font-size: clamp(44px, 6vw, 84px); line-height: 1; }
.collection-head h1 em { font-style: italic; }
.collection-head p { max-width: 560px; color: var(--ink-2); }
.toolbar { position: sticky; top: var(--hdr); z-index: 20; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.toolbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 14px; border: 1px solid var(--line-2); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.sort { display: flex; align-items: center; gap: 8px; flex: none; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sort select { border: 0; background: transparent; font-size: 13px; color: var(--ink); text-transform: none; letter-spacing: 0; cursor: pointer; }
.count { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .sort label { display: none; } }

/* Produktseite */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-top: 26px; padding-bottom: 80px; }
.pdp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.pdp-gallery figure { margin: 0; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); }
.pdp-gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.pdp-gallery figure > img, .pdp-gallery figure > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: calc(var(--hdr) + 26px); align-self: start; display: grid; gap: 22px; }
.pdp-info h1 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; }
.pdp-info .price { font-size: 19px; }
.opt-label { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.opt-label b { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 14px; }
.opt-label button { text-decoration: underline; text-underline-offset: 3px; letter-spacing: .08em; }
.color-picker { display: flex; flex-wrap: wrap; gap: 10px; }
.color-picker button { width: 34px; height: 34px; border-radius: 50%; padding: 3px; border: 1px solid transparent; }
.color-picker button span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.color-picker button.is-active { border-color: var(--ink); }
.size-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; }
.size-picker button { height: 46px; border: 1px solid var(--line-2); font-size: 14px; }
.size-picker button:hover { border-color: var(--ink); }
.size-picker button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-picker button[disabled] { color: var(--muted-2); text-decoration: line-through; cursor: not-allowed; background: var(--stone); }
.stock-note { font-size: 13px; color: var(--ink-2); }
.pdp-perks { display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 18px; }
.pdp-perks li { display: flex; gap: 10px; }
.pdp-perks li::before { content: '—'; color: var(--muted-2); }
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.acc-panel { padding: 0 0 18px; font-size: 14px; color: var(--ink-2); display: grid; gap: 10px; }
.acc-panel[hidden] { display: none; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; padding-top: 0; }
  .pdp-gallery { grid-template-columns: 1fr; margin: 0 calc(var(--gutter) * -1); }
  .pdp-gallery figure:not(:first-child) { display: none; }
  .pdp-info { position: static; }
}
.sticky-buy { display: none; }
@media (max-width: 900px) {
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter); gap: 12px; align-items: center; transform: translateY(100%); transition: transform .3s var(--ease); }
  .sticky-buy.is-on { transform: none; }
  .sticky-buy .btn { flex: 1; }
}

/* Warenkorb-Seite */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; padding-bottom: 96px; align-items: start; }
.cart-summary { position: sticky; top: calc(var(--hdr) + 20px); background: var(--stone); padding: 28px; display: grid; gap: 14px; }
.cart-page .cart-line { grid-template-columns: 120px 1fr; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; gap: 24px; } .cart-summary { position: static; } }

/* Textseiten */
.page { max-width: 820px; padding-bottom: 96px; }
.page-head { padding: 52px 0 30px; display: grid; gap: 12px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(40px, 5.4vw, 70px); line-height: 1.02; }
.page-head h1 em { font-style: italic; }
.rte { display: grid; gap: 18px; color: var(--ink-2); }
.rte h2 { font-family: var(--serif); font-size: 28px; color: var(--ink); margin-top: 18px; }
.rte h3 { font-size: 16px; font-weight: 500; color: var(--ink); margin-top: 6px; }
.rte ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.rte a { color: var(--ink); border-bottom: 1px solid currentColor; }
.rte strong { color: var(--ink); font-weight: 500; }
.rte table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rte th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--ink); font-weight: 500; color: var(--ink); }
.rte td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table-scroll { overflow-x: auto; }
.rte details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.rte summary { cursor: pointer; font-weight: 500; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.rte summary::-webkit-details-marker { display: none; }
.rte summary::after { content: '+'; font-weight: 300; }
.rte details[open] summary::after { content: '–'; }
.rte details > div { padding-top: 10px; }
.notice { background: var(--stone); border-left: 2px solid var(--ink); padding: 14px 18px; font-size: 14px; color: var(--ink-2); }
.store-card { background: var(--stone); padding: 28px; display: grid; gap: 14px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; }

/* Danke */
.thanks { text-align: center; max-width: 640px; margin: 0 auto; padding: 96px var(--gutter) 120px; display: grid; gap: 22px; justify-items: center; }
.thanks h1 { font-family: var(--serif); font-size: clamp(42px, 6vw, 76px); line-height: 1; }
.thanks h1 em { font-style: italic; }

/* Fußzeile */
.site-footer { background: var(--ink); color: #fff; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 72px 0 56px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.66); font-size: 14px; max-width: 300px; }
.footer-col h3 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 16px; font-weight: 400; }
.footer-col ul { display: grid; gap: 9px; font-size: 14px; }
.footer-col a { color: rgba(255,255,255,.9); }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 12px; color: rgba(255,255,255,.55); }
.footer-bottom .pay-row span { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.25); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Einblenden */
.reveal.is-armed { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Dunkle Kopfzeile (config.json › headerTheme: "dark") */
.hdr-dark .announce { background: var(--ink); color: rgba(255,255,255,.82); border-bottom-color: rgba(255,255,255,.12); }
.hdr-dark .announce span + span::before { color: rgba(255,255,255,.4); }
.hdr-dark .site-header { background: var(--ink); color: #fff; border-bottom-color: var(--ink); backdrop-filter: none; }
.hdr-dark .main-nav a:hover, .hdr-dark .main-nav a[aria-current="page"] { border-color: #fff; }
.hdr-dark .site-header .cart-count { background: #fff; color: var(--ink); }
.account-btn.is-in::after { content: ''; position: absolute; top: 9px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 2px var(--paper); }
.hdr-dark .account-btn.is-in::after { box-shadow: 0 0 0 2px var(--ink); }
@media (max-width: 980px) { .account-btn { display: none; } }

/* Zahlungsarten */
.pay-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 12px; color: var(--muted); }
.pay-line .pay-row { justify-content: flex-start; }
.muted { color: var(--muted); font-size: 13px; }

/* Konto: Registrieren / Anmelden */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; border-bottom: 1px solid var(--line); }
.auth-intro { background: var(--stone); padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(40px, 6vw, 88px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.auth-intro h1 { font-family: var(--serif); font-size: clamp(42px, 5.2vw, 76px); line-height: 1; }
.auth-intro h1 em { display: block; font-style: italic; }
.auth-intro > p { max-width: 440px; color: var(--ink-2); }
.perks { display: grid; gap: 14px; border-top: 1px solid var(--line-2); padding-top: 22px; max-width: 440px; }
.perks li { display: grid; gap: 2px; }
.perks strong { font-weight: 500; }
.perks span { font-size: 14px; color: var(--muted); }
.auth-box { padding: clamp(32px, 5vw, 72px) var(--gutter); max-width: 560px; width: 100%; display: grid; gap: 22px; align-content: start; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.tabs button { height: 52px; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tabs button.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
[data-pane] { display: grid; gap: 18px; }
[data-pane][hidden] { display: none; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input, .field select { height: 50px; padding: 0 14px; border: 1px solid var(--line-2); background: #fff; font-size: 16px; border-radius: 0; width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks { display: grid; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.form-msg { font-size: 13px; color: #9A2B1F; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.is-ok { color: #2F6B3A; }
.btn-google svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.or { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.code-input { font-size: 26px !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.code-links { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.code-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; border: 1px dashed var(--ink); padding: 16px 20px; }
.code-box span { font-family: var(--serif); font-size: 30px; letter-spacing: .12em; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-intro { padding: 32px var(--gutter); }
  .auth-intro .perks, .auth-intro .muted { display: none; }
  .auth-box { max-width: none; }
}
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }

/* Konto-Übersicht */
.account { padding-bottom: 96px; }
.account-head { padding: 44px 0 30px; display: grid; gap: 10px; }
.account-head h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 68px); line-height: 1; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.panel { border: 1px solid var(--line); padding: 28px; display: grid; gap: 20px; }
.panel h2 { font-family: var(--serif); font-size: 28px; }
.order { border-top: 1px solid var(--line); padding: 18px 0; display: grid; gap: 8px; }
.order:first-child { border-top: 0; padding-top: 0; }
.order-head, .order-foot { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.order-date { font-size: 13px; color: var(--muted); }
.order-items { font-size: 14px; color: var(--ink-2); }
.order-foot strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.pill { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--stone); padding: 4px 9px; }
.empty-orders { display: grid; gap: 16px; justify-items: start; color: var(--ink-2); }
.welcome-card { background: var(--stone); padding: 18px 20px; display: grid; gap: 4px; }
.welcome-card strong { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: .1em; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } .panel { padding: 22px 18px; } }

/* Hinweis im Warenkorb für Gäste */
.cart-login { background: var(--stone); padding: 16px 18px; display: grid; gap: 8px; }
.cart-login p { font-size: 13px; color: var(--ink-2); }
.cart-login strong { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--ink); }
.cart-login .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cart-login .btn { min-height: 40px; padding: 0 10px; background: #fff; }
.cart-login .btn:hover { background: var(--ink); }

/* Zahlungslogos */
.pay-row img { height: 25px; width: auto; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.footer-bottom .pay-row img { box-shadow: none; }
/* Google-Button */
.g-slot { display: flex; justify-content: center; min-height: 0; }
.g-slot:empty { display: none; }
.g-slot:not(:empty) + .btn-google { display: none; }
