/* Online Nina – Shop. Elegant und ruhig: Elfenbein, Tinte, ein Hauch Gold. */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #1a1410;
  --text: #1f1813;
  --muted: #5f5348; /* dunkler = besser lesbar */
  --line: #e9e1d4;
  --gold: #a47b45;
  --brand: #c8102e; /* Logo-Rot */
  --gold-soft: #f1e6d4;
  --sale: #9c2b23;
  --ok: #2f6b45;
  --radius: 4px;
  --wrap: 1240px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.15; }
h1 { font-size: clamp(32px, 4.4vw, 48px); }
h2 { font-size: clamp(26px, 3vw, 34px); }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.center { text-align: center; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 760px; padding-top: 40px; }
.narrow-top { padding-top: 32px; }
.eyebrow { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); text-decoration: none; display: inline-block; margin: 0 0 12px; }
.lead { font-size: 17px; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: var(--radius); cursor: pointer;
  font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; text-decoration: none; transition: background .2s, color .2s; }
.btn:hover { background: #3a2e25; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--gold-soft); }
.btn.small { min-height: 40px; padding: 0 16px; }
.btn.block { width: 100%; }
.btn:disabled, .btn.disabled { background: #b9ada1; border-color: #b9ada1; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; }
.link:hover { color: var(--ink); }
.more { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Kopf ---------- */
.announce { background: var(--ink); color: #e8dcc8; text-align: center; font-size: 12px; letter-spacing: .06em; padding: 8px 16px; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 242, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; height: 64px; display: flex; align-items: center; gap: 16px; }
.logo { font: 600 26px/1 var(--serif); letter-spacing: .04em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo em { color: var(--gold); font-style: italic; font-weight: 500; }
.mainnav { display: none; gap: 24px; margin-left: 24px; }
.mainnav a { text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.mainnav a:hover, .mainnav a.active { border-color: var(--ink); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.search { display: flex; align-items: center; }
.search input { width: 0; padding: 0; border: 0; background: transparent; transition: width .25s; outline: none; font-size: 16px; }
/* Offen: angeklickt, Text drin oder per Lupe geöffnet (dyqani.js) – klappt nicht mehr von selbst zu */
.search:focus-within input, .search.open input, .search input:not(:placeholder-shown) { width: 150px; border-bottom: 1px solid var(--ink); padding: 4px 0; }
@media (min-width: 1000px) {
  .search input { width: 170px; border-bottom: 1px solid var(--line); padding: 4px 0; }
  .search input:focus { border-color: var(--ink); }
}
.search button, .cart-link { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; position: relative; }
.cart-link .count { position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--gold); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.cart-link .count[hidden] { display: none; }
.cart-link.bump .count { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }

.menu { position: static; }
.menu > summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; margin-left: -10px; }
.menu > summary::-webkit-details-marker { display: none; }
.drawer { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 12px 16px 24px; display: flex; flex-direction: column; max-height: calc(100svh - 110px); overflow: auto; box-shadow: 0 20px 40px rgba(26, 20, 16, .08); }
.drawer a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer a.strong { font-family: var(--serif); font-size: 22px; }
.drawer a.sub { padding-left: 16px; }
.drawer-group { border-bottom: 1px solid var(--line); }
.drawer-group summary { list-style: none; display: flex; width: auto; height: auto; margin: 0; justify-content: space-between; align-items: center; padding: 12px 0; cursor: pointer;
  font-family: var(--serif); font-size: 22px; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group summary svg { width: 20px; height: 20px; transition: transform .25s; }
.drawer-group[open] summary svg { transform: rotate(180deg); }
.drawer-tiles { display: flex; gap: 10px; padding: 4px 16px 12px; margin: 0 -16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding: 0 16px; }
.drawer-tiles::-webkit-scrollbar { display: none; }
.drawer .drawer-tile { flex: 0 0 40%; scroll-snap-align: start; }
.drawer .drawer-tile { position: relative; display: block; padding: 0; border: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 1;
  background: var(--gold-soft); box-shadow: 0 1px 2px rgba(26, 20, 16, .06), 0 6px 16px rgba(26, 20, 16, .08); }
.drawer-tile img { width: 100%; height: 100%; object-fit: cover; }
.drawer-tile span { position: absolute; left: 8px; bottom: 8px; background: rgba(250, 247, 242, .94); padding: 5px 10px; border-radius: 3px;
  font: 500 17px var(--serif); color: var(--ink); }
.drawer .drawer-all { display: block; text-align: center; padding: 12px 0; margin-bottom: 12px; border: 1px solid var(--ink); border-radius: 4px;
  font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.drawer hr { border: 0; margin: 8px 0; }
@media (min-width: 1000px) {
  .top-inner { padding: 0 32px; height: 76px; }
  .menu { display: none; }
  .mainnav { display: flex; }
}
@media (max-width: 999px) {
  .top-inner { justify-content: space-between; }
  .top .logo { position: absolute; left: 50%; transform: translateX(-50%); font-size: 23px; }
  /* Handy: offene Suche = eigene Leiste über die ganze Breite unter dem Kopf (verdeckt das Logo nicht) */
  .search.open { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); padding: 10px 16px;
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(26, 20, 16, .08); z-index: 5; }
  .search.open input { flex: 1; width: auto; min-height: 44px; font-size: 16px; }
  .search:not(.open):focus-within input, .search:not(.open) input:not(:placeholder-shown) { width: 0; padding: 0; border: 0; } /* Handy: nur über die Lupe */
}

.flashes { max-width: var(--wrap); margin: 16px auto 0; padding: 0 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius); margin: 0 0 12px; background: var(--gold-soft); border-left: 3px solid var(--gold); }
.flash.ok { background: #e8f1ea; border-color: var(--ok); }
.flash.bad { background: #f7e6e3; border-color: var(--sale); }

/* ---------- Startseite ---------- */
.hero { position: relative; min-height: min(78svh, 720px); display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 10, 8, .8) 0%, rgba(13, 10, 8, .15) 60%); }
.hero-text { position: relative; z-index: 1; color: #f3ead9; padding: 32px 16px 48px; max-width: 620px; }
.hero-text h1 { color: #fff; font-size: clamp(40px, 6vw, 72px); margin-bottom: 16px; }
.hero-text h1 em { color: #e2c08d; }
.hero-text p { font-size: 17px; margin: 0 0 28px; color: #e6dccb; }
.hero .eyebrow { color: #e2c08d; }
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero::after { background: linear-gradient(90deg, rgba(13, 10, 8, .85) 0%, rgba(13, 10, 8, .35) 45%, rgba(13, 10, 8, 0) 70%); }
  .hero-text { padding: 0 0 0 max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); }
}

.perks { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--surface); }
.perks div { padding: 20px 16px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.perks div + div { border-left: 1px solid var(--line); }
.perks strong { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); }
.perks span { font-size: 13px; color: var(--muted); }
@media (max-width: 700px) {
  .perks { grid-template-columns: 1fr; }
  .perks div + div { border-left: 0; border-top: 1px solid var(--line); }
  .perks div { padding: 14px 16px; }
}

.section { padding-top: 56px; padding-bottom: 8px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--gold-soft); text-decoration: none; border-radius: 6px;
  box-shadow: 0 1px 2px rgba(26, 20, 16, .06), 0 8px 22px rgba(26, 20, 16, .08); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; color: #fff; font: 500 24px/1 var(--serif);
  background: linear-gradient(0deg, rgba(13, 10, 8, .65), transparent); }

.story { display: grid; margin-top: 64px; background: var(--ink); color: #e6dccb; }
.story-img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; max-height: 620px; }
.story-text { padding: 40px 16px 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.story-text h2 { color: #fff; font-size: clamp(34px, 4vw, 52px); }
.story .eyebrow { color: #e2c08d; margin: 0; }
.story .btn { background: #fff; color: var(--ink); border-color: #fff; }
@media (min-width: 800px) { .story { grid-template-columns: 1.2fr 1fr; } .story-text { padding: 48px 56px; } }

.promise { display: grid; gap: 32px; align-items: center; padding-bottom: 64px; }
.promise img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.promise ol { padding-left: 20px; margin: 20px 0 24px; display: grid; gap: 10px; }
@media (min-width: 800px) { .promise { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ---------- Produktkarten ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
@media (min-width: 800px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { text-decoration: none; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(26, 20, 16, .06), 0 8px 22px rgba(26, 20, 16, .07); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(26, 20, 16, .06), 0 18px 40px rgba(26, 20, 16, .13); } }
.card-body { padding: 12px 14px 16px; }
.card-img { position: relative; aspect-ratio: 4 / 5; background: var(--gold-soft); overflow: hidden; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .6s; }
.card-img img.alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-img img.alt { opacity: 1; }
  .card:hover .card-img img:only-of-type { transform: scale(1.04); }
}
.noimg { display: grid; place-items: center; height: 100%; font: italic 22px var(--serif); color: var(--gold); aspect-ratio: 4 / 5; background: var(--gold-soft); }
.tag { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; }
.tag.sale { background: var(--sale); color: #fff; }
.tag.dark { background: var(--ink); color: #fff; }
.card-body h3 { font: 500 15px/1.35 var(--sans); color: var(--ink); margin-bottom: 6px; }
.price { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; font-weight: 600; font-size: 16px; color: var(--ink); }
.price .now { color: var(--sale); }
.price s { color: var(--muted); font-weight: 400; font-size: .9em; }
.price .from { color: var(--muted); font-weight: 400; font-size: .85em; }
.price.big { font-size: 22px; margin-top: 16px; }
.price.small { font-size: 14px; }

/* ---------- Liste ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--text); }
.list-head { padding: 20px 0 16px; }
.list-head .lead { margin: 12px 0 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 8px; scrollbar-width: none; }
.chips a { flex: none; text-decoration: none; border: 1px solid var(--line); background: var(--surface); padding: 8px 16px; border-radius: 999px; font-size: 14px; }
.chips a.active, .chips a:hover { border-color: var(--ink); }
.chips a.active { background: var(--ink); color: #fff; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 0; margin-bottom: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters .count-label { color: var(--muted); font-size: 14px; margin-right: auto; }
.filters label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.filters select { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 8px 10px; color: var(--text); min-height: 40px; }
.pager { display: flex; justify-content: center; gap: 8px; padding: 48px 0 16px; }
.pager a { width: 40px; height: 40px; display: grid; place-items: center; text-decoration: none; border: 1px solid var(--line); }
.pager a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 64px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty.big h1 { margin-bottom: 4px; }
main { min-height: 50vh; padding-bottom: 72px; }

/* ---------- Produktseite ---------- */
.product { display: grid; gap: 24px; padding-top: 16px; }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; } }
.gallery { min-width: 0; }
.gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main img { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; background: var(--gold-soft); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 64px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .6; }
.thumbs button.active { border-color: var(--ink); opacity: 1; }
.thumbs img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) {
  .gallery-main { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; }
  .gallery-main img:only-child { grid-column: 1 / -1; }
  .thumbs { display: none; }
  .info { position: sticky; top: 100px; align-self: start; }
}
.info h1 { font-size: clamp(30px, 3.4vw, 42px); }
.info .lead { margin: 8px 0 0; }
.tax { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.buy { margin-top: 24px; display: grid; gap: 20px; }
.opt { border: 0; padding: 0; margin: 0; }
.opt legend { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.opt legend span { text-transform: none; letter-spacing: 0; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span { display: grid; place-items: center; min-width: 52px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); transition: border-color .15s; }
.pills label:hover span { border-color: var(--muted); }
.pills input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.pills input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.pills input.out + span { color: #b3a79b; background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(124, 111, 99, .12) 7px 8px), var(--surface); text-decoration: line-through; }
.pills input.out:checked + span { background: #6f645a; color: #fff; }
.stock { margin: -8px 0 0; min-height: 1.4em; font-size: 14px; color: var(--muted); }
.stock.low { color: var(--sale); }
.stock.ok { color: var(--ok); }
.assure { list-style: none; padding: 20px 0; margin: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.assure li { padding-left: 24px; position: relative; }
.assure li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.more-info { border-top: 1px solid var(--line); }
.more-info:last-child { border-bottom: 1px solid var(--line); }
.more-info summary { cursor: pointer; padding: 16px 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; }
.more-info summary::after { content: "+"; font-size: 18px; line-height: 1; }
.more-info[open] summary::after { content: "−"; }
.more-info .text { padding-bottom: 16px; color: var(--text); }
.more-info .text p { margin: 0 0 10px; }

/* ---------- Warenkorb & Kasse ---------- */
.page-title { margin-bottom: 24px; }
.checkout-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 48px; } }
.line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line:first-child { border-top: 1px solid var(--line); }
.line-img { background: var(--gold-soft); aspect-ratio: 4 / 5; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-title { font-weight: 500; text-decoration: none; }
.line-actions { display: flex; gap: 16px; align-items: center; margin-top: 8px; }
.line-actions select { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 6px 8px; min-height: 36px; }
.line-total { font-weight: 500; }
.has-problem .line-img { opacity: .5; }
.problem { color: var(--sale); font-size: 14px; }
.lines .more { display: inline-block; margin-top: 24px; }

.summary { background: var(--surface); border: 1px solid var(--line); padding: 24px; display: grid; gap: 16px; }
@media (min-width: 900px) { .summary { position: sticky; top: 100px; } }
.summary h2 { font-size: 26px; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dl div, .panel dl div { display: flex; justify-content: space-between; gap: 16px; }
.summary dt, .summary dd, .panel dt, .panel dd { margin: 0; }
.summary .total, .panel .total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 18px; font-weight: 600; }
.discount dd { color: var(--sale); }
.code-box summary { cursor: pointer; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.code { display: flex; gap: 8px; margin-top: 10px; align-items: center; }
.code input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; min-height: 40px; text-transform: uppercase; background: var(--bg); }
.code.applied { justify-content: space-between; background: var(--gold-soft); padding: 10px 12px; margin: 0; font-size: 14px; }

.panel { background: var(--surface); border: 1px solid var(--line); padding: 24px; margin-bottom: 16px; display: grid; gap: 16px; text-decoration: none; }
.panel h2 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.panel h3 { font: 500 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.panel p { margin: 0; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px var(--sans); }
.row2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 500; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d9cfbf; border-radius: var(--radius); padding: 12px 14px; background: var(--bg); min-height: 48px; font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; background: #fff; }
.field.invalid input, .field.invalid select { border-color: var(--sale); }
.field small { color: var(--sale); font-size: 13px; }
.hint { font-size: 13px; color: var(--muted); margin: -10px 0 0 !important; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); padding: 14px 16px; border-radius: var(--radius); cursor: pointer; }
.choice:has(input:checked), .choice.selected { border-color: var(--ink); background: var(--bg); }
.choice input { margin-top: 4px; accent-color: var(--ink); }
.choice small { display: block; color: var(--muted); font-size: 13px; }
.methods { display: grid; gap: 8px; }
.methods[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }
.mini-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini-lines small { display: block; color: var(--muted); }
.mini-img { position: relative; background: var(--gold-soft); aspect-ratio: 4 / 5; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-img b { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--muted); color: #fff; font-size: 12px; display: grid; place-items: center; }

.thanks { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0 32px; }
.thanks svg { width: 56px; height: 56px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.thanks .eyebrow { margin: 0; }

/* ---------- Textseiten ---------- */
.prose h1 { margin-bottom: 24px; }
.prose h2 { font-size: 26px; margin: 32px 0 8px; }
.prose p, .prose li { max-width: 65ch; }
.contact-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 24px 0; }
.contact-cards .panel { gap: 4px; margin: 0; }
.contact-cards strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.contact-cards span { font-size: 18px; overflow-wrap: anywhere; }

/* ---------- Fuß ---------- */
.foot { background: var(--ink); color: #cfc3b1; padding: 56px 0 24px; }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.foot .logo { color: #fff; }
.foot h3 { font: 500 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #e2c08d; margin-bottom: 12px; }
.foot a { display: block; text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.foot a:hover { color: #fff; }
.foot .muted { color: #9a8d7e; margin: 8px 0 0; }
.copy { max-width: var(--wrap); margin: 40px auto 0; padding: 20px 16px 0; border-top: 1px solid #3a2e25; font-size: 13px; color: #9a8d7e; }
@media (min-width: 700px) { .foot-inner, .copy { padding-left: 32px; padding-right: 32px; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; background: var(--ink); color: #fff;
  padding: 14px 20px; border-radius: var(--radius); display: flex; gap: 16px; align-items: center; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); width: max-content; max-width: calc(100vw - 32px); }
.toast a { color: #e2c08d; white-space: nowrap; }
.toast[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Kontakt-Symbole ---------- */
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact-cards .ic { color: var(--gold); margin-bottom: 6px; }
.contact-cards a.panel:hover { border-color: var(--ink); }
.pre { white-space: pre-line; }
.socials { display: flex; gap: 4px; margin-top: 12px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #3a2e25; border-radius: 50%; padding: 0; }
.socials a:hover { border-color: #e2c08d; color: #e2c08d; }
.socials .ic { width: 18px; height: 18px; }

/* ---------- Newsletter ---------- */
.signup { background: var(--gold-soft); border-top: 1px solid var(--line); }
.signup-inner { max-width: var(--wrap); margin: 0 auto; padding: 40px 16px; display: grid; gap: 20px; align-items: center; }
.signup h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 6px; }
.signup p { margin: 0; color: var(--muted); }
.signup-form { display: flex; gap: 8px; }
.signup-form input[type=email] { flex: 1; min-width: 0; min-height: 48px; border: 1px solid #d9cfbf; border-radius: var(--radius); padding: 0 14px; background: #fff; font-size: 16px; }
@media (min-width: 800px) { .signup-inner { grid-template-columns: 1fr 1fr; padding: 48px 32px; gap: 48px; } }
@media (max-width: 420px) { .signup-form { flex-direction: column; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.check small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- Produktdetails ---------- */
.specs { margin: 0 0 16px; display: grid; }
.specs div { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

/* ---------- Konto ---------- */
.account-link { min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; text-decoration: none; }
.account-text { display: none; font-size: 13px; letter-spacing: .06em; }
@media (min-width: 1000px) { .account-link { padding: 0 8px; } .account-text { display: inline; } .account-link .dot { right: auto; left: 24px; } }
.account-link .dot { position: absolute; top: 10px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
@media (max-width: 420px) { .account-link { display: none; } }
.auth { display: flex; justify-content: center; padding-top: 40px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card.wide { max-width: 560px; }
.auth-card h1 { margin-bottom: 8px; }
.auth-form { display: grid; gap: 16px; margin-top: 20px; }
.auth-links { font-size: 14px; margin-top: 16px; display: block; text-align: center; }
.auth-alt { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.auth-alt p { margin: 0; }
.btn.light-outline { background: transparent; color: var(--ink); }
.btn.light-outline:hover { background: var(--ink); color: #fff; }
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.account-head .eyebrow { margin-bottom: 6px; }
.account .panel { margin-bottom: 20px; }
.account-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .account-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.order-list { display: grid; }
.order-row { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.order-row:last-child { border-bottom: 0; }
.order-row small { display: block; color: var(--muted); font-size: 13px; }
.order-row:hover strong { text-decoration: underline; }
.status { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); white-space: nowrap; }
.status.ok { background: #e8f1ea; color: var(--ok); }
.status.bad { background: #f7e6e3; color: var(--sale); }
.status.info { background: #e8eef5; color: #2c4a6b; }
@media (max-width: 560px) { .order-row { grid-template-columns: 48px 1fr auto; } .order-row .status { grid-column: 2; justify-self: start; } }
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.address-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: 14px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.address-card.default { border-color: var(--ink); }
.address-card p { margin: 0; line-height: 1.55; }
.address-card.add { align-items: center; justify-content: center; text-decoration: none; border-style: dashed; min-height: 140px; color: var(--muted); }
.address-actions { display: flex; gap: 16px; margin-top: auto; font-size: 13px; }
.tag-mini { position: absolute; top: 10px; right: 10px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mt { margin-top: 16px; }
.tiers { list-style: none; padding: 10px 14px; margin: 14px 0 0; background: var(--gold-soft); border-radius: var(--radius); font-size: 14px; display: grid; gap: 4px; }
.tier-note { font-size: 12px; color: var(--ok); }
.announce { display: flex; justify-content: center; align-items: center; gap: 16px; }
.announce .short { display: none; }
@media (max-width: 700px) {
  .announce { font-size: 11px; letter-spacing: .04em; padding: 6px 12px; white-space: nowrap; }
  .announce .long { display: none; }
  .announce .short { display: inline; }
}
.cur-switch { display: inline-flex; gap: 2px; align-items: center; margin-left: 10px; }
.cur-switch a { text-decoration: none; padding: 0 6px; border-radius: 3px; opacity: .7; }
.cur-switch a { display: inline; padding: 0 5px; }
.cur-switch a.active { background: #e8dcc8; color: var(--ink); opacity: 1; }
.cod-local dt, .cod-local dd { font-weight: 600; color: var(--ink); }
.cod-local { background: var(--gold-soft); padding: 8px 10px; border-radius: var(--radius); }
.alt-price { margin: 2px 0 0; font-size: 12px; color: var(--muted); font-weight: 400; display: block; }
.alt-price.big { font-size: 14px; margin-top: 2px; }
.alt-price:empty { display: none; }
.bundle-box { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.bundle-box ul { margin: 6px 0 0; padding-left: 18px; }
.return-line { grid-template-columns: 1fr 90px; align-items: center; }

/* Zahlungsarten */
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pay-logos b { font: 700 11px/1 system-ui, sans-serif; letter-spacing: .02em; border: 1px solid var(--line); border-radius: 4px; padding: 4px 6px; color: var(--ink); background: #fff; }

/* ---------- Hilfe / Kontakt ---------- */
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-sent { border-color: #b9dcc4; background: #f1f8f3; }
.faq { display: grid; gap: 10px; margin: 20px 0 32px; }
.faq-item { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.faq-item summary { cursor: pointer; padding: 16px 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); }
.faq-item[open] summary::after { content: "−"; }
.faq-item > div { padding: 0 18px 18px; color: var(--muted); }
.help-search input { font-size: 17px; }
.help-contact h2 { font-size: 22px; margin-bottom: 12px; }
.chat { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.chat-msg { max-width: 85%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.chat-msg.me { justify-self: end; background: #f3ece1; border-bottom-right-radius: 4px; }
.chat-msg.shop { justify-self: start; border-bottom-left-radius: 4px; }
.chat-who { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.pre { white-space: pre-wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Hilfe-Knopf unten rechts */
.helpdesk { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; justify-items: end; gap: 10px; }
.helpdesk-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px;
  font: 500 15px var(--sans); cursor: pointer; box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 8px 24px rgba(0,0,0,.25); min-height: 48px; }
.helpdesk-btn .ic { width: 20px; height: 20px; }
.helpdesk-panel { width: min(300px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.18); padding: 8px; }
.helpdesk-title { font-weight: 600; padding: 8px 10px 6px; margin: 0; }
.helpdesk-panel a { display: flex; gap: 12px; align-items: center; padding: 11px 10px; border-radius: 10px; text-decoration: none; color: inherit; min-height: 48px; }
.helpdesk-panel a:hover { background: var(--bg); }
.helpdesk-panel .ic { width: 22px; height: 22px; flex: none; }
.helpdesk-panel small { display: block; color: var(--muted); font-size: 12px; }
@media print { .helpdesk { display: none; } }
.row-street { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 12px; }
/* Farbpunkte */
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: #ccc; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); vertical-align: -2px; }
.pills .dot { margin-right: 8px; width: 16px; height: 16px; }
.card .dots { display: flex; gap: 6px; align-items: center; margin: 4px 0 2px; }
.card .dots small { color: var(--muted); font-size: 12px; }
/* Cookie-Hinweis */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.18); padding: 16px 18px; display: grid; gap: 12px; }
.cookie-bar p { margin: 0; font-size: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { min-height: 44px; }
.cookie-bar:not([hidden]) ~ .helpdesk { bottom: 180px; }
.foot-link { color: inherit; opacity: .8; text-align: left; padding: 0; }
/* Rechtstexte */
.legal h2 { font-size: 21px; margin-top: 32px; scroll-margin-top: 90px; }
.legal-toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 4px 18px; padding: 16px 18px; border: 1px solid var(--line); background: var(--surface); margin: 18px 0; }
.legal-toc a { font-size: 14px; padding: 3px 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 16px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 600; }
.imprint th { width: 38%; }
.legal-form p { margin: 0 0 8px; }
@media (max-width: 600px) { .legal-table { display: block; overflow-x: auto; } }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.cookie-actions .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.admin-strip { display: flex; justify-content: center; gap: 14px; align-items: center; background: #b58a3f; color: #fff; font-size: 13px; padding: 6px 12px; }
.admin-strip a { color: #fff; font-weight: 700; }
.flash.admin-hint { background: #f6ecd9; border-color: #b58a3f; display: grid; gap: 10px; justify-items: start; }

/* ---------- Nina-Logo: wird wie mit der Hand geschrieben ----------
   Maske aus Stiftstrichen (views/partials/nina-logo.ejs), jeder Strich läuft per stroke-dashoffset.
   --k = Tempo (1 = Hero, kleiner = schneller). .wait = pausiert, bis das Logo sichtbar ist (dyqani.js). */
.nina-logo { display: block; height: auto; overflow: visible; --k: 1; --ink: #c8102e; }
.nina-logo .ink { fill: var(--ink); }
.nina-logo .ink-set { opacity: 0; animation: nina-ink calc(.35s * var(--k)) ease-out calc(3.9s * var(--k)) forwards; }
.nina-logo .sub { fill: currentColor; opacity: 0; animation: nina-sub calc(.9s * var(--k)) ease-out calc(3.9s * var(--k)) forwards; }
.nina-logo .s { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1;
  animation: nina-draw var(--d) cubic-bezier(.45, .05, .4, 1) var(--t) forwards; }
.nina-logo .s1 { --d: calc(.55s * var(--k)); --t: 0s; }
.nina-logo .s2 { --d: calc(.40s * var(--k)); --t: calc(.55s * var(--k)); }
.nina-logo .s3 { --d: calc(.32s * var(--k)); --t: calc(.95s * var(--k)); }
.nina-logo .s4 { --d: calc(.55s * var(--k)); --t: calc(1.42s * var(--k)); }
.nina-logo .s5 { --d: calc(.22s * var(--k)); --t: calc(1.97s * var(--k)); }
.nina-logo .s6 { --d: calc(.55s * var(--k)); --t: calc(2.19s * var(--k)); }
.nina-logo .s7 { --d: calc(.50s * var(--k)); --t: calc(2.74s * var(--k)); }
.nina-logo .s8 { --d: calc(.40s * var(--k)); --t: calc(3.24s * var(--k)); }
.nina-logo .s9 { --d: calc(.14s * var(--k)); --t: calc(3.80s * var(--k)); }
.nina-logo.wait .s, .nina-logo.wait .ink-set, .nina-logo.wait .sub { animation-play-state: paused; }
@keyframes nina-draw { to { stroke-dashoffset: 0; } }
@keyframes nina-ink { to { opacity: 1; } }
@keyframes nina-sub { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .nina-logo .s, .nina-logo .ink-set, .nina-logo .sub { animation: none; stroke-dashoffset: 0; opacity: 1; }
}
.logo.has-svg { display: block; line-height: 0; }
.top .logo .nina-logo { width: 104px; --k: .55; }
.foot .logo .nina-logo { width: 150px; --k: .7; --ink: #e0233f; }
@media (min-width: 1000px) { .top .logo .nina-logo { width: 124px; } }

/* ---------- Hauptmenü mit Aufklapp-Bereich (Computer) ---------- */
.mainnav { align-items: stretch; height: 100%; }
.nav-item { display: flex; align-items: center; }
.mainnav .nav-top { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 2px; border: 0; position: relative; }
.mainnav .nav-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.mainnav .nav-top:hover::after, .mainnav .nav-top.active::after, .nav-item.has-mega:hover .nav-top::after,
.nav-item.has-mega:focus-within .nav-top::after { transform: scaleX(1); }
.mainnav .chev { width: 14px; height: 14px; transition: transform .25s; }
.nav-item.has-mega:hover .chev, .nav-item.has-mega:focus-within .chev { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(26, 20, 16, .10); opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s, transform .22s, visibility 0s .22s; }
/* Öffnet erst nach kurzem Verweilen (0,2 s) – beim bloßen Vorbeifahren mit der Maus bleibt es zu */
.nav-item.has-mega:hover .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .2s; }
.nav-item.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { max-width: var(--wrap); margin: 0 auto; padding: 32px; display: grid; grid-template-columns: 260px 1fr; gap: 48px; }
.mega-links { display: flex; flex-direction: column; }
.mega-links .eyebrow { margin: 0 0 8px; }
.mega-links a { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; text-decoration: none;
  font: 500 22px/1.2 var(--serif); color: var(--ink); border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: 0; }
.mega-links a small { font: 12px var(--sans); color: var(--muted); }
.mega-links a:hover span, .mega-links a.active span { color: var(--brand); }
.mega-links .mega-all { border: 0; font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-top: 12px; }
.mega-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mega-tile { position: relative; overflow: hidden; border-radius: 6px; background: var(--surface); aspect-ratio: 4 / 5; text-decoration: none;
  box-shadow: 0 1px 2px rgba(26, 20, 16, .06), 0 8px 22px rgba(26, 20, 16, .08); }
.mega-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.mega-tile:hover img { transform: scale(1.05); }
.mega-tile span { position: absolute; left: 12px; bottom: 12px; background: rgba(250, 247, 242, .92); padding: 6px 12px;
  font: 500 18px var(--serif); color: var(--ink); text-transform: none; letter-spacing: 0; }

/* ---------- Kino-Hero (Startseite) ----------
   Ablauf (Klassen an .cine, gesetzt von dyqani.js): Intro = Leder + Logo wird geschrieben -> .rolling = Film läuft.
   3D: --mx/--my (-1…1) folgen Maus bzw. Neigung des Handys. Ohne JavaScript: Posterbild + fertiges Logo. */
.cine { position: relative; height: min(92svh, 940px); min-height: 560px; background: #0b0908; color: #f3ead9; overflow: hidden; --mx: 0; --my: 0; }
.cine-stage { position: absolute; inset: 0; perspective: 1200px; perspective-origin: 50% 45%; }
.cine-film { position: absolute; inset: -2%; transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -12px), 0) scale(1.03); will-change: transform; }
.cine-film img, .cine-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 88%; } /* Füße/Schuhe bleiben sichtbar, abgeschnitten wird oben */
.cine-video { opacity: 0; transition: opacity 1.2s ease; }
.cine-video.ready { opacity: 1; }
.cine-shade { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, rgba(11, 9, 8, .05) 0%, rgba(11, 9, 8, .45) 70%, rgba(11, 9, 8, .8) 100%),
              linear-gradient(0deg, rgba(11, 9, 8, .85) 0%, rgba(11, 9, 8, 0) 38%); }
.cine-glare { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .55;
  background: radial-gradient(circle at calc(50% + var(--mx) * 35%) calc(40% + var(--my) * 30%), rgba(255, 236, 205, .55), rgba(255, 236, 205, 0) 45%); }
.cine-intro { position: absolute; inset: 0; transition: opacity 1.4s ease, transform 2.4s cubic-bezier(.2, .7, .2, 1); }
.cine-intro img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -8px), 0) scale(1.04); }
.cine.rolling .cine-intro { opacity: 0; transform: scale(1.08); pointer-events: none; }
.no-js-film .cine-intro { display: none; }

/* Logo + Text stehen fest (User-Wunsch) – nur Film und Licht bewegen sich mit der Maus */
.cine-content { position: absolute; inset: 0; }
/* Intro: Logo groß in der Mitte. Film läuft: Logo gleitet nach links unten, die Mitte bleibt frei für die Schuhe */
.cine-box { position: absolute; left: 50%; top: 50%; width: min(640px, 84vw); transform: translate(-50%, -50%);
  text-align: center; transition: left 1.6s cubic-bezier(.2, .7, .2, 1), top 1.6s cubic-bezier(.2, .7, .2, 1),
  transform 1.6s cubic-bezier(.2, .7, .2, 1), width 1.6s cubic-bezier(.2, .7, .2, 1); }
.cine.rolling .cine-box { left: clamp(16px, 6vw, 96px); top: calc(100% - 96px); width: min(380px, 70vw); transform: translate(0, -100%); text-align: left; }
.cine-logo { margin: 0; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)); }
.cine-logo .nina-logo { width: 100%; color: #efe6d6; --k: 1; --ink: #d6112f; }
.cine-after { opacity: 0; transform: translateY(24px); transition: opacity 1s ease .9s, transform 1.2s cubic-bezier(.2, .7, .2, 1) .9s; }
.cine.rolling .cine-after { opacity: 1; transform: none; }
.cine.rolling .cine-shade { background: linear-gradient(90deg, rgba(11, 9, 8, .62) 0%, rgba(11, 9, 8, 0) 38%),
  linear-gradient(0deg, rgba(11, 9, 8, .55) 0%, rgba(11, 9, 8, 0) 14%); }
.cine-tag { font: italic 500 clamp(22px, 2.6vw, 30px)/1.2 var(--serif); color: #f6eee1; margin: 6px 0 22px; letter-spacing: .01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.cine-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cine:not(.rolling) .cine-cta { justify-content: center; }
.btn.glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn.glass:hover { background: rgba(255, 255, 255, .18); }

.cine-chapters { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px;
  max-width: var(--wrap); margin: 0 auto; padding: 0 16px 20px; opacity: 0; transition: opacity 1s ease 1s; }
.cine.rolling .cine-chapters { opacity: 1; }
.chap { flex: 1; min-width: 0; background: none; border: 0; padding: 16px 0; cursor: pointer; }
.chap-bar { display: block; height: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; transition: height .2s; }
.chap:hover .chap-bar { height: 4px; }
.chap-bar i { display: block; height: 100%; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
.chap-product { display: none; flex-direction: column; text-decoration: none; padding: 8px 14px; margin-left: 8px; border-left: 1px solid rgba(255, 255, 255, .25);
  min-width: 170px; }
.chap-product span { font: 600 10px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.chap-product strong { font: 500 19px/1.2 var(--serif); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.chap-product:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.chap-product.swap { animation: chap-swap .6s ease; }
@keyframes chap-swap { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
.cine-toggle { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35); color: #fff; cursor: pointer; }
.cine-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cine-toggle .i-play { display: none; fill: currentColor; }
.cine.paused .cine-toggle .i-play { display: block; }
.cine.paused .cine-toggle .i-pause { display: none; }
@media (min-width: 800px) {
  .chap-product:not([hidden]) { display: flex; }
  .cine-chapters { padding: 0 32px 28px; gap: 16px; }
}
@media (max-width: 700px) {
  /* Handy: Hero genau bis zum unteren Bildschirmrand (Kopf + Hinweisleiste ≈ 90 px) */
  .cine { height: calc(100svh - 90px); min-height: 500px; max-height: 760px; }
  .cine-chapters { padding-bottom: 12px; padding-right: 88px; }
  .cine-cta .btn.glass { display: none; }
  .cine-cta .btn { padding: 0 14px; min-height: 44px; font-size: 12px; white-space: nowrap; }
  /* Handy: Logo nach dem Intro oben, unten bleiben die Schuhe frei */
  .cine.rolling .cine-box { top: 20px; width: calc(100vw - 32px); left: 16px; transform: none; }
  .cine.rolling .cine-shade { background: linear-gradient(180deg, rgba(11, 9, 8, .6) 0%, rgba(11, 9, 8, 0) 42%); }
  .cine.rolling .cine-logo { width: 62%; }
  .cine-cta .btn { min-width: 0; flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .cine-film, .cine-intro img { transform: none !important; }
}

/* ---------- Schuhpaare ("Si porositni"): wechseln automatisch ----------
   Bilder auf reinem Weiß, "multiply" lässt das Weiß im Seitenhintergrund verschwinden (Bühne braucht dafür --bg). */
.pairs { position: relative; }
.pairs-stage { position: relative; aspect-ratio: 1; background: var(--bg); overflow: hidden; perspective: 1000px; --mx: 0; --my: 0; }
.pair { position: absolute; inset: 0; opacity: 0; transform: translateX(40px) scale(.97); pointer-events: none;
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.pair.on { opacity: 1; transform: none; pointer-events: auto; }
.pair.out { opacity: 0; transform: translateX(-40px) scale(.97); }
.pair img, .promise .pair img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply;
  transform: rotateY(calc(var(--mx) * 6deg)) rotateX(calc(var(--my) * -4deg)); transition: transform .4s ease-out; }
.pairs-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.pairs-name { font: 500 22px var(--serif); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; white-space: nowrap; }
@media (max-width: 700px) { .pairs-name { font-size: 18px; } .pairs-dots button { width: 22px; } }
.pairs-name:hover { border-color: var(--ink); }
.pairs-name span { transition: opacity .4s; }
.pairs-dots { display: flex; gap: 2px; }
.pairs-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.pairs-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c9bcaa; transition: background .3s, transform .3s; }
.pairs-dots button.on::after { background: var(--brand); transform: scale(1.3); }

/* ---------- Bewegung beim Scrollen ----------
   dyqani.js setzt .rv (versteckt) und .in (sichtbar), sobald das Element ins Bild kommt.
   Eigene Eigenschaft "translate" -> stört das transform der Karten (Anheben beim Drüberfahren) nicht. */
.rv { opacity: 0; translate: var(--rx, 0) 48px; transition: opacity .9s ease, translate 1s cubic-bezier(.16, .8, .24, 1); transition-delay: var(--rd, 0s); }
.rv.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; translate: none; transition: none; } }

/* ---------- Angebote, Größentabelle, Über uns ---------- */
.mainnav .nav-top.sale, .drawer a.sale { color: var(--brand); }
.prose .lead { font-size: 18px; color: var(--ink); }
.sizes-guide { margin: 24px 0; display: grid; gap: 24px; }
.size-calc { background: var(--surface); border-radius: 6px; padding: 18px; box-shadow: 0 1px 2px rgba(26, 20, 16, .06), 0 8px 22px rgba(26, 20, 16, .07); }
.size-calc label { display: block; font-weight: 600; margin-bottom: 8px; }
.size-calc-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.size-calc input { width: 140px; min-height: 48px; padding: 0 14px; font-size: 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); }
.size-calc output { font-size: 16px; color: var(--muted); }
.size-calc output strong { font: 600 26px var(--serif); color: var(--brand); margin: 0 4px; }
.size-table-wrap { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.size-table th, .size-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.size-table th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.size-table tr.hit td { background: #fbe9ec; }
.size-table tr.hit td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.measure { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; }
.measure ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.measure-svg { width: 110px; }
.measure-svg .m-paper { fill: #fff; stroke: var(--line); }
.measure-svg .m-foot { fill: var(--gold-soft); stroke: var(--gold); stroke-width: 2; }
.measure-svg .m-line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; }
.size-note { color: var(--muted); font-size: 14px; margin: 0; }
.size-link { background: none; border: 0; padding: 0; margin-left: 10px; font-size: 13px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.size-dialog { width: min(680px, calc(100vw - 24px)); max-height: 88svh; border: 0; border-radius: 8px; padding: 22px 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.size-dialog::backdrop { background: rgba(26, 20, 16, .45); }
.size-dialog h2 { margin: 0 40px 4px 0; }
.size-dialog .close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; cursor: pointer; }
.about-hero { position: relative; height: min(62svh, 560px); overflow: hidden; background: var(--ink); }
.about-hero img, .about-hero video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 9, 8, .65), rgba(11, 9, 8, 0) 60%); }
.about-hero-text { position: absolute; z-index: 1; left: clamp(16px, 6vw, 96px); bottom: 40px; color: #f3ead9; }
.about-logo { width: min(300px, 60vw); --ink: #e0233f; }
.about-hero-text p { font: italic 500 24px var(--serif); margin: 6px 0 0; }
.about-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Handy-Menü: rotes Hamburger-Symbol, Schublade fährt von links herein ---------- */
.menu > summary { border-radius: 50%; background: rgba(200, 16, 46, .09); color: var(--brand); margin-left: -4px; }
.menu > summary svg { stroke: var(--brand); stroke-width: 2; }
.drawer-backdrop { display: none; }
.drawer-head { display: none; }
@media (max-width: 999px) {
  .top { backdrop-filter: none; background: rgba(250, 247, 242, .98); } /* sonst hängt die Schublade am Kopf statt am Bildschirm */
  .menu[open] .drawer { position: fixed; top: 0; left: 0; bottom: 0; right: auto; width: min(86vw, 380px); max-height: none; height: 100dvh;
    z-index: 61; padding: 0 20px 32px; border: 0; box-shadow: 20px 0 60px rgba(26, 20, 16, .25); overflow-y: auto;
    animation: drawer-in .38s cubic-bezier(.2, .8, .2, 1); }
  .menu[open] .drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(26, 20, 16, .45); animation: fade-in .3s ease; }
  .menu.closing .drawer { animation: drawer-out .28s ease-in forwards; }
  .menu.closing .drawer-backdrop { animation: fade-out .28s ease-in forwards; }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; height: 64px; margin: 0 -20px 8px; padding: 0 12px 0 20px;
    border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 1; }
  .drawer .drawer-logo { border: 0; padding: 0; line-height: 0; }
  .drawer-logo .nina-logo { width: 96px; --k: .55; }
  .drawer-x { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(200, 16, 46, .09); color: var(--brand); cursor: pointer; }
  .drawer-x svg { stroke: var(--brand); stroke-width: 2; }
  .drawer > a, .drawer-group { animation: drawer-item .5s cubic-bezier(.2, .8, .2, 1) both; }
  .drawer > a:nth-of-type(2), .drawer-group { animation-delay: .06s; }
  .drawer > a:nth-of-type(3) { animation-delay: .1s; } .drawer > a:nth-of-type(4) { animation-delay: .14s; }
  .drawer > a:nth-of-type(5) { animation-delay: .18s; } .drawer > a:nth-of-type(6) { animation-delay: .22s; }
}
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes drawer-out { from { transform: none; } to { transform: translateX(-100%); } }
@keyframes drawer-item { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .menu[open] .drawer, .menu[open] .drawer-backdrop, .drawer > a, .drawer-group { animation: none; } }
/* Offene Schublade: Hilfe-Knopf ausblenden (lag sonst darüber) */
html:has(details.menu[open]) .helpdesk-btn, html:has(details.menu[open]) .helpdesk { display: none; }

/* Konto ganz oben im Handy-Menü */
.drawer .drawer-account { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 8px 0 6px; border: 0; border-radius: 6px;
  background: rgba(200, 16, 46, .07); color: var(--ink); }
.drawer-account svg { width: 26px; height: 26px; stroke: var(--brand); flex: none; }
.drawer-account span { display: flex; flex-direction: column; font-weight: 600; }
.drawer-account small { font-weight: 400; color: var(--muted); font-size: 13px; }

/* Registrierung: Adresse im eigenen Kasten, "Pa numër (PN)" neben der Hausnummer */
.addr-box { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 14px 16px 6px; margin: 8px 0 14px; display: grid; gap: 2px; }
.addr-box legend { font: 500 20px var(--serif); color: var(--ink); padding: 0 6px; }
.nr-row { align-items: end; }
.nr-row .check.pn { min-height: 48px; margin-bottom: 14px; }
.addr-box .hint, .field .hint { display: block; font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.field input:disabled { background: var(--gold-soft); color: var(--muted); }

/* Registrieren oben: Computer neben "Hyr", Handy zwei Knöpfe oben im Menü */
.register-link { display: none; }
@media (min-width: 1000px) {
  .register-link { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; margin: 0 4px; border: 1px solid var(--ink); border-radius: 999px;
    font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
  .register-link:hover { background: var(--ink); color: #fff; }
}
.drawer .drawer-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 8px; }
.drawer .drawer-auth a { border-bottom: 0; padding: 0; min-height: 46px; }

/* Anmelden/Registrieren: breiter, zweispaltig mit Werbung */
.auth.split { max-width: 1160px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 24px; padding-bottom: 56px; }
.auth.split .auth-card { max-width: none; background: var(--surface); border-radius: 8px; padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(26, 20, 16, .05), 0 12px 32px rgba(26, 20, 16, .08); }
.auth-promo { position: relative; overflow: hidden; border-radius: 8px; min-height: 220px; color: #f3ead9; background: #0b0908; order: -1; }
.auth-promo video, .auth-promo picture, .auth-promo picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.auth-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 9, 8, .25), rgba(11, 9, 8, .78)); }
.auth-promo-text { position: relative; z-index: 1; padding: 22px; display: grid; gap: 6px; align-content: end; height: 100%; min-height: 220px; }
.auth-promo .nina-logo { width: 130px; --ink: #e0233f; --k: .6; }
.auth-promo-tag { font: italic 500 22px var(--serif); margin: 0; color: #fff; }
.auth-promo ul { list-style: none; margin: 8px 0 0; padding: 0; display: none; gap: 8px; }
.auth-promo li { padding-left: 26px; position: relative; font-size: 15px; }
.auth-promo li::before { content: "✓"; position: absolute; left: 0; color: #e0233f; font-weight: 700; }
@media (min-width: 900px) {
  .auth.split { grid-template-columns: minmax(420px, 1fr) minmax(0, 1.05fr); gap: 40px; padding-top: 40px; }
  .auth.split .auth-card { padding: 40px 44px; }
  .auth-promo { order: 0; position: sticky; top: 100px; min-height: 620px; }
  .auth-promo-text { min-height: 620px; padding: 40px; gap: 10px; }
  .auth-promo .nina-logo { width: 190px; }
  .auth-promo-tag { font-size: 30px; }
  .auth-promo ul { display: grid; }
  .auth.split .addr-box .row2 { grid-template-columns: 1fr 1fr; }
}

/* ---------- Kategorie-Kreise (Startseite + Handy-Menü) ---------- */
.cats { display: flex; justify-content: center; gap: clamp(18px, 4vw, 56px); overflow-x: auto; padding: 8px 4px 16px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; display: grid; justify-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.cat-disc { width: clamp(108px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, #fff 0%, #f3ede3 70%); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(26, 20, 16, .05), 0 10px 26px rgba(26, 20, 16, .08); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.cat-disc img { width: 100%; height: 100%; object-fit: cover; }
.cat-disc img.art { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.cat-name { font: 500 20px var(--serif); letter-spacing: .01em; position: relative; }
.cat-name::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--brand); transform: scaleX(0); transition: transform .3s; }
@media (hover: hover) {
  .cat:hover .cat-disc { transform: translateY(-6px); border-color: rgba(200, 16, 46, .35); box-shadow: 0 2px 4px rgba(26, 20, 16, .06), 0 18px 36px rgba(26, 20, 16, .14); }
  .cat:hover .cat-name::after { transform: scaleX(1); }
}
@media (max-width: 600px) { .cats { justify-content: flex-start; padding-left: 2px; } }
/* Handy-Menü: kleinere Kreise in einer Reihe */
.drawer-tiles { gap: 16px; padding: 6px 16px 14px; }
.drawer .cat.small { flex: 0 0 auto; border: 0; padding: 0; scroll-snap-align: start; }
.cat.small .cat-disc { width: 84px; }
.cat.small .cat-name { font-size: 16px; }

/* Bildausschnitt je Werbemotiv (Schuhe sichtbar halten) */
.promo-hyr video { object-position: 50% 40%; }
.promo-regjistrohu video { object-position: 50% 92%; }
.promo-kontakti img { object-position: 50% 35%; }
@media (max-width: 899px) { .promo-hyr video { object-position: 50% 55%; } .promo-kontakti img { object-position: 70% 50%; } }

.about-film { margin: 28px 0 8px; }
.about-film video { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: #0b0908; box-shadow: 0 12px 32px rgba(26, 20, 16, .14); display: block; }
.about-film figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
