@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('assets/fonts/dm-sans-latin.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('assets/fonts/playfair-normal-latin.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('assets/fonts/playfair-italic-latin.woff2') format('woff2'); }

:root {
  --ink: #171717;
  --ink-soft: #232321;
  --line: rgba(222, 211, 188, .19);
  --white: #f1eee8;
  --muted: #b7b4ae;
  --gold: #cbb58e;
  --gold-bright: #dbc49a;
  --sand: #d6d0c5;
  --serif: 'Playfair Display', serif;
  --sans: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  font-family: var(--sans);
  background: #171717 url('background.png') center top / cover fixed no-repeat;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 5px; }
.shell { width: min(100% - 96px, 1432px); margin-inline: auto; }
.section { padding-block: clamp(76px, 8vw, 112px); }
.section-divider { display: flex; align-items: center; gap: 20px; height: 7px; }
.section-divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(203, 181, 142, .48)); }
.section-divider span:last-child { transform: rotate(180deg); }
.section-divider i { flex: none; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
[data-reveal-delay="1"] { --reveal-delay: 100ms; }
[data-reveal-delay="2"] { --reveal-delay: 200ms; }
[data-reveal].reveal-pending { opacity: 0; transform: translate3d(0, 22px, 0); }
[data-reveal].reveal-pending.is-revealed { opacity: 1; transform: translate3d(0, 0, 0); transition: opacity 650ms ease var(--reveal-delay, 0ms), transform 650ms cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms); }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -100px; background: var(--gold); color: var(--ink); padding: 12px 16px; }
.skip-link:focus { top: 16px; }
.back-to-top { position: absolute; z-index: 1; right: 0; bottom: 16px; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); background: rgba(23, 23, 23, .94); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: color .25s ease, background .25s ease, transform .25s ease; }
body.menu-open .back-to-top { display: none; }
.back-to-top:hover, .back-to-top.reveal-pending.is-revealed:hover { color: var(--ink); background: var(--gold); transform: translateY(-4px); }
.back-to-top svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.site-header { position: relative; z-index: 50; background: transparent; }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-icon { display: block; width: 68px; height: 58px; flex: none; }
.brand-icon img { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3.3vw, 54px); margin-left: auto; }
.desktop-nav a { color: #d4d1ca; font-size: 12px; font-weight: 600; transition: color .2s ease; }
.desktop-nav a:hover, .footer-links a:hover { color: var(--gold-bright); }
.desktop-nav a[aria-current="page"] { color: var(--gold); }
.language-switcher { position: relative; flex: none; }
.language-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 92px; height: 44px; padding: 0 7px; border: 0; color: var(--gold); background: transparent; cursor: pointer; transition: color .2s ease; }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { color: var(--white); }
.language-trigger svg { flex: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.language-flag { display: block; width: 21px; height: 14px; flex: none; border: 1px solid rgba(255, 255, 255, .28); object-fit: cover; }
.language-chevron { width: 10px; height: 10px; transition: transform .2s ease; }
.language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-current { font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.language-menu { position: absolute; z-index: 60; top: calc(100% + 7px); right: 0; width: 220px; padding: 6px; border: 1px solid rgba(203, 181, 142, .42); background: rgba(29, 28, 27, .98); box-shadow: 0 18px 44px rgba(0, 0, 0, .36); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.language-menu[hidden] { display: none; }
.language-menu button { display: grid; grid-template-columns: 24px 27px 1fr 16px; align-items: center; gap: 7px; width: 100%; min-height: 43px; padding: 0 10px; border: 0; color: #d4d1ca; background: transparent; text-align: left; font-size: 12px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.language-menu button:hover, .language-menu button:focus-visible { color: var(--white); background: rgba(203, 181, 142, .12); }
.language-menu button[aria-checked="true"] { color: var(--gold-bright); background: rgba(203, 181, 142, .09); }
.language-code { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.language-check { visibility: hidden; color: var(--gold); font-size: 14px; }
.language-menu button[aria-checked="true"] .language-check { visibility: visible; }
.menu-toggle, .mobile-nav { display: none; }

/* Öffentlicher Auftritt: zentrierte Marke und eine eigene, ruhige Navigationszeile. */
.public-header .header-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: 82px 54px; gap: 0; height: 136px; }
.public-header .header-inner::before { position: absolute; top: 82px; right: 0; left: 0; height: 1px; background: var(--line); content: ''; }
.public-header .brand { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
.public-header .desktop-nav { grid-column: 2; grid-row: 2; align-self: stretch; justify-self: center; gap: clamp(28px, 3.5vw, 62px); margin-left: 0; }
.public-header .desktop-nav a { display: inline-flex; align-items: center; color: #c9c4b9; font-size: 11px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.public-header .desktop-nav a:is(:hover, :focus-visible, [aria-current="page"]) { color: var(--gold-bright); }
.public-header .language-switcher { grid-column: 3; grid-row: 2; justify-self: end; }
.public-header .language-trigger { min-width: 82px; height: 38px; }
.public-header .whatsapp-header-cta { position: absolute; z-index: 2; top: 19px; left: 0; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 15px; border: 1px solid #25d366; border-radius: 999px; color: #25d366; background: rgba(18, 18, 18, .9); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); font-size: 11px; font-weight: 700; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.public-header .whatsapp-header-cta:hover { border-color: #25d366; background: rgba(37, 211, 102, .12); box-shadow: 0 12px 28px rgba(0, 0, 0, .25); transform: translateY(-2px); }
.whatsapp-header-cta svg { display: block; width: 19px; height: 19px; flex: none; }

.hero { overflow: hidden; background: transparent; }
.hero-inner { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(24px, 3vw, 54px); width: min(100% - clamp(64px, 12vw, 180px), 1360px); min-height: clamp(560px, calc(100svh - 136px), 660px); padding-block: 30px 42px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 0 0 22px; text-align: left; }
.eyebrow, .kicker, .location-index, .footer-overline { font-size: 10px; font-weight: 700; letter-spacing: .21em; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold); }
.eyebrow-line, .eyebrow::after { flex: none; width: 24px; height: 1px; background: var(--gold); }
.eyebrow::after { content: ''; }
.hero .eyebrow { justify-content: flex-start; gap: 16px; }
.hero .eyebrow-line { width: 32px; }
.hero .eyebrow::after { display: none; }
.hero h1 { margin: 27px 0 22px; font-family: var(--serif); font-size: clamp(58px, 5.8vw, 88px); font-weight: 400; letter-spacing: -.057em; line-height: 1.05; }
.hero h1 em, h2 em, .site-footer h2 em { color: var(--gold); font-weight: 400; }
.hero-copy > p { max-width: 420px; margin-bottom: 0; color: #d6d0c6; font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 24px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 42px; min-height: 54px; padding: 0 20px 0 23px; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-gold { background: var(--gold); color: #201e1b; }
.button-gold:hover { background: var(--gold-bright); }
.hero .button-gold { justify-content: center; gap: 28px; min-width: 228px; min-height: 58px; border: 1px solid var(--gold); color: #1a1815; background: var(--gold); }
.hero .button-gold:hover { background: var(--gold-bright); }
.button span, .text-link span, .location-actions span { font-size: 17px; font-weight: 400; }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; border-bottom: 1px solid var(--gold); color: var(--white); font-size: 12px; font-weight: 700; transition: color .25s ease; }
.text-link, .location-actions a:last-child, .review-motion-toggle { position: relative; }
.text-link::after, .location-actions a:last-child::after, .review-motion-toggle::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--gold-bright); content: ''; transform: scaleX(0); transform-origin: left center; transition: transform .42s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.text-link span, .location-actions a:last-child span { display: inline-block; transition: transform .36s cubic-bezier(.22, 1, .36, 1); }
.text-link:hover, .text-link:focus-visible, .location-actions a:last-child:hover, .location-actions a:last-child:focus-visible { color: var(--gold-bright); }
.text-link:hover::after, .text-link:focus-visible::after, .text-link:active::after, .location-actions a:last-child:hover::after, .location-actions a:last-child:focus-visible::after, .location-actions a:last-child:active::after, .review-motion-toggle:hover::after, .review-motion-toggle:focus-visible::after, .review-motion-toggle:active::after { transform: scaleX(1); }
.text-link:hover span, .text-link:focus-visible span, .text-link:active span, .location-actions a:last-child:hover span, .location-actions a:last-child:focus-visible span, .location-actions a:last-child:active span { transform: translateX(5px); }
.hero-image-wrap { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; align-self: stretch; margin-right: -24px; }
.hero-image { position: relative; width: min(125%, 820px); max-width: none; height: auto; object-fit: contain; filter: drop-shadow(0 32px 28px rgba(0, 0, 0, .38)); }

.kicker { margin-bottom: 25px; color: var(--gold); }
h2 { font-family: var(--serif); font-size: clamp(46px, 4.8vw, 72px); font-weight: 400; letter-spacing: -.055em; line-height: 1.13; }
.section-heading, .services-header { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-heading h2, .services-header h2 { max-width: 800px; margin: 0; }
.section-heading .text-link { flex: none; margin-bottom: 5px; }
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.collection-card { display: block; min-width: 0; }
.collection-image { aspect-ratio: 1.18 / 1; overflow: hidden; background: #242321; }
.collection-image img { height: 100%; object-fit: cover; filter: saturate(.73); transition: transform .7s ease, filter .7s ease; }
.collection-card:hover .collection-image img { transform: scale(1.055); filter: saturate(1); }
.collection-card-info { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; }
.collection-card-info h3 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 2.8vw, 36px); font-weight: 400; letter-spacing: -.035em; }
.collection-card-info > span { color: var(--gold); font-size: 24px; }
.collection-card-action { display: block; margin-top: 7px; color: var(--gold); font-size: 11px; font-weight: 600; }

.products-page-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: 64px 76px; }
.products-page-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(60px, 5.6vw, 92px); font-weight: 400; letter-spacing: -.067em; line-height: 1.05; }
.products-page-hero h1 em { color: var(--gold); font-weight: 400; }
.products-page-hero-lead { max-width: 420px; margin: 28px 0 0; color: #cbc6bc; font-size: 15px; line-height: 1.7; }
.products-page-hero-copy .text-link { margin-top: 26px; }
.products-page-hero-media { display: grid; place-items: center; aspect-ratio: 1.15 / 1; overflow: hidden; background: transparent; }
.products-page-hero-media img { width: min(72%, 430px); height: auto; }
.product-showcase { padding-block: 62px 108px; }
.product-heading { margin-bottom: 31px; }
.product-heading .kicker { margin-bottom: 18px; }
.product-heading h2 { margin-bottom: 0; }
.product-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 76px); margin: 0; padding: 0; list-style: none; }
.product-category { display: flex; align-items: baseline; gap: clamp(22px, 2.5vw, 38px); min-height: 107px; padding: 25px 8px; border-bottom: 1px solid var(--line); }
.product-category > span { flex: none; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.product-category h3 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 2.9vw, 40px); font-weight: 400; letter-spacing: -.045em; line-height: 1.18; }
.product-note { margin: 33px 0 0; color: #a6a29b; font-size: 12px; line-height: 1.7; }
.products-visit { color: var(--white); background: transparent; }
.products-visit-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding-block: 76px 82px; }
.products-visit .kicker { color: var(--gold); }
.products-visit h2 { margin: 0; font-size: clamp(44px, 4.5vw, 66px); }
.products-visit h2 em { color: var(--gold); }
.products-visit .button-gold { flex: none; color: #201e1b; background: var(--gold); }
.products-visit .button-gold:hover { background: var(--gold-bright); }

.story { overflow: hidden; background: transparent; }
.story.section { padding-block: clamp(76px, 7vw, 104px); }
.story-inner { display: flex; flex-direction: column; align-items: center; gap: clamp(34px, 4vw, 52px); text-align: center; }
.story-copy { width: 100%; }
.story-copy h2 { margin: 0; font-size: clamp(36px, 4.8vw, 68px); line-height: 1.15; }
.story-detail { max-width: 650px; }
.story-detail p { margin: 0; color: #e0d8cc; font-family: var(--serif); font-size: clamp(20px, 1.85vw, 26px); letter-spacing: -.025em; line-height: 1.45; }
.story-detail .text-link { margin-top: 28px; }

.services-header { display: block; margin-bottom: 42px; text-align: center; }
.services-header h2 { max-width: none; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 188px; padding: 29px; border: 1px solid var(--line); background: transparent; }
.service-card > span { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.service-card h3 { margin: 38px 0 0; font-family: var(--serif); font-size: clamp(27px, 2.6vw, 35px); font-weight: 400; letter-spacing: -.035em; line-height: 1.2; }

.metal-prices { color: var(--white); background: transparent; }
.metal-prices-heading { margin-bottom: 42px; text-align: center; }
.metal-prices .kicker { color: var(--gold); }
.metal-prices h2 { margin: 0; }
.metal-prices h2 em { color: var(--gold); }
.metal-prices-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.metal-price-card { display: flex; flex-direction: column; min-height: 285px; padding: 30px 34px; border: 1px solid var(--line); background: transparent; }
.metal-price-card h3 { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -.04em; }
.metal-price-readout { display: flex; align-items: baseline; gap: 11px; margin-top: 29px; white-space: nowrap; }
.metal-price-readout output { font-family: var(--serif); font-size: clamp(48px, 5vw, 70px); letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.metal-price-readout > span { color: var(--gold); font-size: 17px; font-weight: 600; }
.metal-price-card > p { margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.metal-price-time { display: block; min-height: 19px; margin-top: auto; padding-top: 20px; color: var(--muted); font-size: 11px; }
.metal-prices-detail { width: min(100%, 940px); margin: 34px auto 0; }
.metal-prices-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 34px; padding-top: 23px; border-top: 1px solid var(--line); }
.metal-prices-action-copy { min-width: 0; }
.metal-prices-action-copy > p:first-child { margin: 0; color: var(--white); font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); line-height: 1.25; }
.metal-prices-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; min-height: 50px; padding: 0 19px 0 22px; border: 0; background: var(--gold); color: #201e1b; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s ease; }
.metal-prices-button:hover { background: var(--gold-bright); }
.metal-prices-button:disabled { cursor: wait; opacity: .65; }
.metal-prices-button span { font-size: 17px; font-weight: 400; }
.metal-prices-consent { max-width: 690px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.metal-prices-consent a, .metal-prices-footnote a { text-decoration: underline; text-underline-offset: 3px; }
.metal-prices-consent a:hover, .metal-prices-footnote a:hover { color: var(--gold-bright); }
.metal-prices-footnote { display: flex; justify-content: space-between; gap: 10px 28px; margin-top: 20px; }
.metal-prices-footnote p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.metal-prices-footnote p:last-child { flex: none; text-align: right; }

.reviews { overflow: hidden; background: transparent; }
.reviews-heading { margin-bottom: clamp(38px, 4.5vw, 60px); text-align: center; }
.reviews-heading h2 { margin: 0; font-size: clamp(24px, 5vw, 70px); white-space: nowrap; }
.reviews-toolbar { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 24px; }
.review-motion-toggle { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; padding: 0 3px; border: 0; border-bottom: 1px solid rgba(203,181,142,.48); color: var(--gold-bright); background: transparent; font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .06em; cursor: pointer; }
.review-motion-toggle[hidden] { display: none; }
.review-motion-toggle:hover { color: var(--white); border-color: var(--white); }
.google-reviews-link { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 0 19px; border: 1px solid rgba(203,181,142,.58); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .04em; transition: border-color .2s ease, background-color .2s ease; }
.google-reviews-link:hover, .google-reviews-link:focus-visible { border-color: var(--gold-bright); background: rgba(203,181,142,.1); }
.google-reviews-link span { color: var(--gold-bright); font-size: 16px; font-weight: 400; }
.review-motion-icon { position: relative; display: inline-block; width: 14px; height: 14px; }
.review-motion-icon::before, .review-motion-icon::after { position: absolute; top: 2px; bottom: 2px; width: 2px; content: ''; background: currentColor; }
.review-motion-icon::before { left: 3px; }
.review-motion-icon::after { right: 3px; }
.review-motion-toggle.is-paused .review-motion-icon::before { top: 0; left: 3px; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 10px solid currentColor; background: none; }
.review-motion-toggle.is-paused .review-motion-icon::after { display: none; }
.review-viewport { overflow-x: auto; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.review-carousel.is-ready .review-viewport { overflow: hidden; }
.review-viewport:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: -2px; }
.review-track, .review-set { display: flex; width: max-content; }
.review-set { flex: none; gap: 18px; padding-right: 18px; }
.review-carousel.is-ready .review-track { animation: review-flow 88s linear infinite; }
.review-carousel.is-paused .review-track { animation-play-state: paused; }
@keyframes review-flow { to { transform: translate3d(-50%, 0, 0); } }
.review-card { display: flex; flex: none; flex-direction: column; width: clamp(288px, 29vw, 420px); min-height: 300px; padding: 30px; border: 1px solid rgba(203, 181, 142, .22); background: transparent; }
.review-rating { color: var(--gold); font-size: 18px; letter-spacing: .13em; line-height: 1; }
.review-source-tag { display: flex; align-items: center; min-height: 18px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.review-card blockquote, .review-summary { margin: 30px 0; color: var(--white); font-family: var(--serif); font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -.025em; line-height: 1.43; }
.review-author { margin: auto 0 0; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.locations { color: var(--white); background: transparent; }
.locations-lead { margin-bottom: 42px; text-align: center; }
.locations .kicker { margin-bottom: 24px; color: var(--gold); }
.locations h2 { margin: 0; line-height: 1.1; }
.locations h2 em { color: var(--gold); }
.location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.location-card { position: relative; display: flex; flex-direction: column; min-height: 290px; padding: 32px; border: 1px solid var(--line); background: transparent; transition: border-color .2s ease; }
.location-card::before { content: ''; position: absolute; top: -1px; left: 32px; width: 48px; height: 2px; background: var(--gold); }
.location-card:hover { border-color: var(--gold); }
.location-index { color: var(--gold); font-size: 10px; }
.location-card h3 { margin: 42px 0 8px; font-family: var(--serif); font-size: clamp(34px, 3.5vw, 47px); font-weight: 400; letter-spacing: -.045em; line-height: 1.12; }
.location-card > p { margin: 0; color: var(--muted); font-size: 13px; }
.location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: auto; padding-top: 25px; }
.location-actions a { display: inline-flex; align-items: center; justify-content: space-between; gap: 21px; min-height: 44px; color: var(--white); font-size: 12px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.location-actions a:first-child { padding: 0 16px; color: #201e1b; background: var(--gold); }
.location-actions a:first-child:hover { background: var(--gold-bright); }
.location-actions a:last-child { min-height: 44px; border-bottom: 1px solid var(--gold); }
.location-actions a:last-child:hover { color: var(--gold-bright); }

.augsburg-banner { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(280px, 28vw, 460px); overflow: hidden; background: var(--ink-soft); }
.augsburg-banner > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; filter: grayscale(.62) sepia(.2) saturate(.68) brightness(.9) contrast(.96); }
.augsburg-banner-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(18, 18, 18, .58), rgba(18, 18, 18, .22) 48%, rgba(18, 18, 18, .08)), linear-gradient(0deg, rgba(18, 18, 18, .2), transparent 45%); }
.augsburg-banner-content { position: relative; padding-block: clamp(52px, 7vw, 88px); }
.augsburg-banner-overline { display: flex; align-items: center; gap: 13px; margin: 0 0 23px; color: var(--gold-bright); font-size: 10px; font-weight: 700; letter-spacing: .24em; }
.augsburg-banner-overline::before { width: 28px; height: 1px; flex: none; background: var(--gold); content: ''; }
.augsburg-banner-title { max-width: 740px; margin: 0; color: var(--white); font-family: var(--serif); font-size: clamp(46px, 5.3vw, 76px); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
.augsburg-banner-title em { color: var(--gold-bright); font-weight: 400; }
.site-footer { background: transparent; }
.footer-main { position: relative; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(240px, 1fr); align-items: start; gap: 5%; padding-block: 78px 74px; }
.footer-overline { margin-bottom: 27px; color: var(--gold); }
.site-footer h2 { max-width: 520px; margin-bottom: 0; font-size: clamp(48px, 4.9vw, 68px); line-height: 1.12; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding-top: 2px; }
.footer-links p { margin: 0 0 15px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.footer-links a, .footer-links span { color: #c2beb6; font-size: 13px; line-height: 1.65; transition: color .2s; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; border-top: 1px solid var(--line); color: #8f8b83; font-size: 11px; }
.footer-bottom > div { display: flex; gap: 28px; }
.footer-bottom a:hover { color: var(--gold); }
.footer-copyright { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; transition: color .2s ease; }

.legal-page { min-height: 62vh; }
.legal-hero { padding-top: 102px; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.legal-hero .kicker { margin-bottom: 22px; }
.legal-hero h1 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(68px, 8vw, 118px); font-weight: 400; letter-spacing: -.07em; line-height: 1.08; }
.legal-period { color: var(--gold); }
.legal-hero > p:last-child { max-width: 620px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.legal-layout { display: grid; grid-template-columns: minmax(170px, .35fr) minmax(0, 1fr); gap: clamp(55px, 8vw, 150px); padding-top: 88px; padding-bottom: 135px; }
.legal-aside { align-self: start; position: sticky; top: 28px; }
.legal-aside p { margin: 30px 0 0; color: #a9a59d; font-size: 13px; line-height: 1.8; }
.legal-copy { max-width: 780px; }
.legal-copy section { padding: 0 0 42px; margin-bottom: 43px; border-bottom: 1px solid var(--line); }
.legal-copy section:last-child { margin-bottom: 0; border-bottom: 0; }
.legal-copy h2 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(28px, 3vw, 39px); font-weight: 400; letter-spacing: -.035em; line-height: 1.3; }
.legal-copy p, .legal-copy address { margin: 0 0 18px; color: #c8c4bc; font-size: 14px; font-style: normal; line-height: 1.95; }
.legal-copy p:last-child { margin-bottom: 0; }
.legal-copy address strong { color: var(--white); font-weight: 700; }
.legal-copy a { color: var(--gold-bright); text-decoration: underline; text-decoration-color: rgba(203, 181, 142, .42); text-underline-offset: 5px; }
.legal-copy a:hover { text-decoration-color: var(--gold-bright); }
.legal-copy code { color: var(--gold-bright); overflow-wrap: anywhere; }
.legal-notice { margin-bottom: 57px; padding: 25px 28px; border-left: 2px solid var(--gold); background: rgba(203, 181, 142, .08); }
.legal-notice strong { display: block; margin-bottom: 8px; color: var(--gold-bright); font-size: 12px; letter-spacing: .08em; }
.legal-notice p { font-size: 13px; }

@media (max-width: 1180px) {
  .shell { width: min(100% - 64px, 1432px); }
  .desktop-nav { gap: 24px; }
  .header-inner { gap: 25px; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; min-height: 0; padding-block: 70px 34px; }
  .hero-copy { max-width: 650px; padding: 0; }
  .hero h1 { font-size: clamp(58px, 8vw, 76px); }
  .hero-image-wrap { align-self: auto; height: clamp(330px, 54vw, 470px); margin: 14px 0 0; }
  .hero-image { width: min(96%, 660px); max-height: 100%; }
}

@media (max-width: 1024px) {
  .header-inner { gap: 16px; }
  .public-header .header-inner { display: flex; height: 72px; gap: 16px; }
  .public-header .header-inner::before { display: none; }
  .public-header .whatsapp-header-cta { position: static; min-height: 38px; padding-inline: 11px; gap: 7px; font-size: 10px; }
  .whatsapp-header-cta svg { width: 18px; height: 18px; }
  .public-header .brand { margin-right: auto; }
  .public-header .language-switcher { margin-left: 0; }
  .public-header .mobile-nav:not([hidden]) { height: calc(100dvh - 72px); }
  .desktop-nav { display: none; }
  .language-switcher { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; padding: 8px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 100%; height: 1px; background: var(--gold); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; height: calc(100dvh - 84px); padding: 22px max(18px, calc((100vw - 920px) / 2)); overflow-y: auto; background: #171717 url('background.png') center / cover no-repeat; border-top: 1px solid var(--line); }
  .mobile-nav a { padding: 21px 8px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 29px; }
  .mobile-nav a[aria-current="page"] { color: var(--gold); }
}

@media (max-width: 900px) {
  .brand-icon { width: 62px; height: 54px; }
  .shell { width: min(100% - 48px, 1432px); }
  .hero-copy > p { font-size: 15px; }
  .products-page-hero { grid-template-columns: 1fr; gap: 34px; }
  .products-page-hero-media { width: 100%; max-width: 680px; aspect-ratio: 1.5 / 1; margin-inline: auto; }
  .story-detail { max-width: 580px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 135px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 8%; padding-block: 70px 90px; }
}

@media (max-width: 680px) {
  .location-grid { grid-template-columns: 1fr; }
  .metal-prices-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .back-to-top { right: 0; bottom: 8px; width: 48px; height: 48px; }
  .shell { width: min(100% - 36px, 1432px); }
  .section-divider { gap: 12px; }
  .section { padding-block: 76px; }
  .header-inner { height: 72px; gap: 12px; }
  .public-header .header-inner { gap: 12px; }
  .brand-icon { width: 52px; height: 46px; }
  .mobile-nav:not([hidden]) { height: calc(100dvh - 72px); padding-inline: 18px; }
  .hero-inner { padding-block: 58px 30px; }
  .hero-copy { min-height: 0; padding: 0; }
  .hero h1 { margin: 22px 0 19px; font-size: clamp(48px, 10vw, 66px); }
  .hero-copy > p { max-width: 420px; font-size: 15px; }
  .hero-image-wrap { height: clamp(260px, 63vw, 420px); margin-top: 24px; }
  h2 { font-size: clamp(43px, 8.6vw, 63px); }
  .locations h2 { font-size: clamp(43px, 8vw, 60px); }
  .augsburg-banner { min-height: 280px; }
  .augsburg-banner-content { padding-block: 46px; }
  .augsburg-banner-overline { margin-bottom: 17px; font-size: 9px; letter-spacing: .19em; }
  .augsburg-banner-title { max-width: 500px; font-size: clamp(40px, 9vw, 56px); }
  .section-heading { display: block; margin-bottom: 36px; }
  .section-heading .text-link { margin-top: 23px; }
  .services-header { margin-bottom: 36px; }
  .collection-grid { gap: 14px; }
  .collection-card-info h3 { font-size: 27px; }
  .products-page-hero { display: flex; flex-direction: column; align-items: stretch; gap: 34px; padding-block: 48px 55px; }
  .products-page-hero-media { width: 100%; max-width: 680px; aspect-ratio: 1.18 / 1; margin-inline: auto; }
  .product-showcase { padding-block: 65px 92px; }
  .product-heading { margin-bottom: 34px; }
  .product-category-grid { column-gap: 24px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 135px; }
  .service-card h3 { margin-top: 20px; }
  .metal-prices-heading { margin-bottom: 32px; }
  .metal-price-card { min-height: 244px; }
  .metal-prices-actions { grid-template-columns: 1fr; gap: 18px; }
  .metal-prices-button { justify-self: start; }
  .metal-prices-footnote { flex-direction: column; gap: 7px; }
  .metal-prices-footnote p:last-child { text-align: left; }
  .review-card { width: min(84vw, 340px); min-height: 310px; padding: 24px; }
  .review-card blockquote, .review-summary { margin-block: 29px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 8%; padding-block: 70px 90px; }
  .legal-hero { padding-top: 78px; padding-bottom: 55px; }
  .legal-layout { display: block; padding-top: 65px; padding-bottom: 90px; }
  .legal-aside { position: static; margin-bottom: 46px; }
  .legal-aside p { display: none; }
}

@media (max-width: 560px) {
  .hero-actions { gap: 16px; }
  .hero-actions .button { width: auto; min-width: 220px; }
  .collection-grid { grid-template-columns: 1fr; gap: 42px; }
  .collection-image { aspect-ratio: 1.15 / 1; }
  .collection-card-info h3 { font-size: 34px; }
  .products-page-hero h1 { font-size: clamp(48px, 10vw, 72px); }
  .story-copy h2 { font-size: clamp(34px, 9vw, 48px); }
  .story-detail p { font-size: 21px; }
  .products-page-hero-media { aspect-ratio: 1.16 / 1; }
  .product-category-grid { grid-template-columns: 1fr; }
  .product-category { min-height: 79px; padding-block: 17px; }
  .product-category h3 { font-size: 31px; }
  .product-note { margin-top: 29px; }
  .products-visit-inner { display: block; padding-block: 75px; }
  .products-visit .button { margin-top: 32px; }
  .locations-lead { margin-bottom: 28px; }
  .location-card { min-height: 265px; padding: 31px 27px 27px; }
  .location-card::before { left: 27px; }
  .location-card h3 { margin-top: 39px; }
  .metal-price-card { padding: 26px; }
  .metal-prices-button { justify-self: stretch; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-block: 60px 84px; }
  .footer-main > div:first-child { grid-column: auto; }
  .site-footer h2 { font-size: clamp(45px, 11vw, 58px); }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; }
}

@media (max-width: 380px) {
  .shell { width: min(100% - 24px, 1432px); }
  .public-header .header-inner { gap: 6px; }
  .brand-icon { width: 47px; height: 42px; }
  .public-header .brand-icon { width: 45px; }
  .public-header .whatsapp-header-cta { min-height: 36px; gap: 5px; padding-inline: 8px; font-size: 9px; }
  .whatsapp-header-cta svg { width: 16px; height: 16px; }
  .language-trigger { min-width: 70px; gap: 6px; padding-inline: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  [data-reveal].reveal-pending { opacity: 1 !important; transform: none !important; }
  .review-motion-toggle { display: none; }
  .review-carousel.is-ready .review-track { animation: none; }
  .review-carousel.is-ready .review-viewport { overflow-x: auto; mask-image: none; -webkit-mask-image: none; scroll-snap-type: x proximity; }
  .review-set[aria-hidden="true"] { display: none; }
  .review-card { scroll-snap-align: start; }
}

@media print {
  [data-reveal].reveal-pending { opacity: 1 !important; transform: none !important; }
}

.login-page { background: #171717 url('background.png') center top / cover fixed no-repeat; }
.login-header { background: transparent; }
.login-header-inner { gap: 24px; }
.login-back { margin-left: auto; color: #d4d1ca; font-size: 12px; font-weight: 600; transition: color .2s ease; }
.login-back:hover { color: var(--gold-bright); }
.login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - 84px - 64px); }
.login-visual { position: relative; display: flex; align-items: center; min-height: 640px; overflow: hidden; background: transparent; }
.login-visual-copy { width: min(100% - 96px, 560px); margin: 0 auto; }
.login-visual-copy .kicker { margin-bottom: 20px; }
.login-visual-copy h2 { max-width: 480px; margin: 0; font-size: clamp(46px, 4.6vw, 76px); }
.login-panel { display: flex; align-items: center; justify-content: center; padding: 70px clamp(32px, 6vw, 120px); border-left: 1px solid var(--line); background: transparent; }
.login-panel-inner { width: min(100%, 440px); }
.login-panel h1 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(52px, 4.8vw, 74px); font-weight: 400; letter-spacing: -.06em; line-height: 1.1; }
.login-panel h1 em { color: var(--gold); font-weight: 400; }
.login-intro { margin-bottom: 34px; color: #c8c4bc; font-size: 15px; line-height: 1.7; }
.login-form { display: grid; gap: 20px; }
.login-field label { display: block; margin-bottom: 10px; color: #e1d9ca; font-size: 12px; font-weight: 600; }
.login-field input { width: 100%; height: 55px; padding: 0 17px; border: 1px solid rgba(203, 181, 142, .32); border-radius: 0; color: var(--white); background: rgba(255, 255, 255, .035); font: inherit; font-size: 14px; }
.login-field input::placeholder { color: #a29d94; }
.login-field input:focus { outline: none; border-color: var(--gold-bright); }
.login-submit { width: 100%; margin-top: 4px; border: 0; cursor: pointer; }
.login-notice { display: flex; align-items: flex-start; gap: 12px; margin: 26px 0 0; color: #c4b9a7; font-size: 12px; line-height: 1.65; }
.login-notice svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.login-notice strong { color: var(--white); }
.login-error { margin: 18px 0 0; color: #e6a99a; font-size: 12px; }
.login-error[hidden] { display: none; }
.login-contact { margin: 31px 0 0; color: #b9b5ad; font-size: 12px; line-height: 1.6; }
.login-contact a { color: var(--gold-bright); border-bottom: 1px solid rgba(203, 181, 142, .55); }
.login-contact a:hover { border-color: var(--gold-bright); }
.login-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding-inline: 48px; border-top: 1px solid var(--line); color: #99958d; background: transparent; font-size: 11px; }
.login-footer div { display: flex; gap: 26px; }
.login-footer a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .login-layout { grid-template-columns: 1fr; min-height: 0; }
  .login-visual { min-height: 280px; }
  .login-visual-copy { width: min(100% - 48px, 560px); }
  .login-visual-copy h2 { font-size: clamp(39px, 6vw, 58px); }
  .login-panel { padding: 72px 24px 86px; border-top: 1px solid var(--line); border-left: 0; }
  .login-footer { padding: 20px 24px; }
}

@media (max-width: 760px) {
  .login-visual-copy { width: min(100% - 36px, 560px); }
  .login-visual-copy h2 { font-size: clamp(39px, 8vw, 58px); }
}

@media (max-width: 560px) {
  .login-header-inner { gap: 10px; }
  .login-back { font-size: 11px; }
  .login-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.purchase-page { background: #171717 url('background.png') center top / cover fixed no-repeat; }
.purchase-header { background: transparent; border-bottom: 1px solid var(--line); }
.purchase-header-inner { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 480px) minmax(120px, 1fr); align-items: center; gap: 24px; min-height: 84px; }
.purchase-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 8px; width: 100%; }
.purchase-nav a, .purchase-nav button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 17px; border: 1px solid rgba(203, 181, 142, .55); border-radius: 0; color: var(--gold-bright); background: transparent; font: inherit; font-size: 12px; font-weight: 700; text-align: center; cursor: pointer; }
.purchase-nav a[aria-current="page"] { border-color: var(--gold); color: #201e1b; background: var(--gold); }
.purchase-nav a:not([aria-current="page"]):hover, .purchase-nav a:not([aria-current="page"]):focus-visible, .purchase-nav button:hover, .purchase-nav button:focus-visible { border-color: var(--gold-bright); background: rgba(203, 181, 142, .12); }
.purchase-logout { justify-self: end; min-height: 44px; padding: 0; border: 0; color: #d4d1ca; background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; }
.purchase-logout span { margin-left: 8px; color: var(--gold); }
.purchase-logout:hover { color: var(--gold-bright); }
.purchase-main { max-width: 1240px; padding-block: 72px 115px; }
.purchase-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 34px; min-height: 190px; margin-bottom: 37px; }
.purchase-intro .kicker { margin-bottom: 17px; }
.purchase-intro h1 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(58px, 6.5vw, 92px); font-weight: 400; letter-spacing: -.065em; line-height: 1.05; }
.purchase-intro h1 span { color: var(--gold); }
.purchase-intro p:last-child { max-width: 570px; margin: 0; color: #c7c2b8; font-size: 15px; line-height: 1.7; }
.purchase-demo-button { display: inline-flex; align-self: end; align-items: center; justify-content: space-between; gap: 16px; min-height: 47px; padding: 0 17px; border: 1px solid rgba(203,181,142,.48); color: var(--gold-bright); background: transparent; font: inherit; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s ease; }
.purchase-demo-button:hover { background: rgba(203,181,142,.1); }
.purchase-demo-button span { margin-left: 0; }
.purchase-alert { display: flex; align-items: center; gap: 20px; min-height: 84px; margin-bottom: 38px; padding: 18px 22px; border-left: 2px solid var(--gold); color: #c9c4ba; background: rgba(203,181,142,.075); font-size: 12px; line-height: 1.7; }
.purchase-alert strong { flex: 0 0 115px; color: var(--gold-bright); font-size: 10px; letter-spacing: .16em; }
.purchase-section { display: grid; grid-template-columns: minmax(190px, .31fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 72px); padding: 48px 0 54px; border-top: 1px solid var(--line); }
.purchase-section-head { display: flex; align-items: flex-start; gap: 17px; }
.purchase-step { display: inline-grid; place-items: center; flex: none; width: 33px; height: 33px; border: 1px solid rgba(203,181,142,.5); color: var(--gold); font-size: 10px; letter-spacing: .08em; }
.purchase-section-head .kicker { margin: 2px 0 10px; }
.purchase-section-head h2 { margin: 0; font-size: clamp(29px, 3vw, 43px); line-height: 1.16; }
.purchase-section-body { min-width: 0; }
.purchase-help { margin: 0 0 23px; color: #b6b1a8; font-size: 12px; line-height: 1.7; }
.scan-tips { margin: 0 0 0; padding: 11px 15px; background: rgba(203,181,142,.05); border-left: 2px solid rgba(203,181,142,.45); color: #b8b2a6; font-size: 12px; line-height: 1.65; }
.purchase-identity-warning { margin: 0 0 22px; padding: 15px 18px; border: 1px solid rgba(212,153,117,.7); color: #f2d7c6; background: rgba(147,73,46,.16); font-size: 12px; line-height: 1.65; }
.purchase-identity-warning[hidden] { display: none; }
.purchase-field label { display: block; margin-bottom: 9px; color: #ddd7cd; font-size: 11px; font-weight: 700; }
.purchase-field input, .purchase-field select, .purchase-field textarea, .purchase-table input, .purchase-table select { display: block; width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid rgba(203,181,142,.28); border-radius: 0; color: var(--white); background: #22211f; font: inherit; font-size: 13px; }
.purchase-field input:focus, .purchase-field select:focus, .purchase-field textarea:focus, .purchase-table input:focus, .purchase-table select:focus { border-color: var(--gold-bright); outline: 1px solid var(--gold-bright); outline-offset: 0; }
.purchase-field input::placeholder, .purchase-field textarea::placeholder { color: #827e76; }
.purchase-field textarea { min-height: 96px; padding: 12px 13px; line-height: 1.6; resize: vertical; }
.purchase-other-info { max-width: 760px; }
.purchase-other-info small { display: block; margin-top: 9px; color: #aaa49a; font-size: 11px; line-height: 1.5; }
.purchase-field select, .purchase-table select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23cbb58e' d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 33px; }
.purchase-document-type { width: min(100%, 310px); margin-bottom: 24px; }
.purchase-select { width: 100%; }
.purchase-select select[hidden] { display: none; }
.purchase-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid rgba(203,181,142,.36); color: var(--white); background: #22211f; font: inherit; font-size: 13px; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.purchase-select-trigger:hover, .purchase-select-trigger[aria-expanded="true"] { border-color: var(--gold); background: #292721; }
.purchase-select-trigger:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.purchase-select-trigger svg { flex: none; width: 12px; height: 12px; fill: none; stroke: var(--gold); stroke-width: 1.4; transition: transform .2s ease; }
.purchase-select-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.purchase-select-menu { position: fixed; z-index: 200; max-height: min(310px, 55vh); padding: 6px; overflow-y: auto; border: 1px solid rgba(203,181,142,.42); background: rgba(29,28,27,.98); box-shadow: 0 18px 44px rgba(0,0,0,.42); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.purchase-select-menu { scrollbar-width: thin; scrollbar-color: rgba(203,181,142,.55) transparent; }
.purchase-select-menu::-webkit-scrollbar { width: 6px; }
.purchase-select-menu::-webkit-scrollbar-thumb { background: rgba(203,181,142,.55); }
.purchase-select-menu[hidden] { display: none; }
.purchase-select-option { display: grid; grid-template-columns: 1fr 16px; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; color: #d4d1ca; background: transparent; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.purchase-select-option:hover, .purchase-select-option:focus-visible { color: var(--white); background: rgba(203,181,142,.12); outline: none; }
.purchase-select-option[aria-checked="true"] { color: var(--gold-bright); background: rgba(203,181,142,.09); }
.purchase-select-option .purchase-select-check { visibility: hidden; color: var(--gold); font-size: 14px; }
.purchase-select-option[aria-checked="true"] .purchase-select-check { visibility: visible; }
.purchase-table .purchase-select-trigger { min-height: 42px; padding-inline: 9px; font-size: 12px; }
.purchase-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 15px; margin: 0 0 16px; padding: 16px 18px; border: 1px solid rgba(203,181,142,.28); color: #ded8cf; background: #22211e; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.purchase-check[hidden] { display: none; }
.purchase-check:hover, .purchase-check:focus-within { border-color: var(--gold); }
.purchase-check:has(input:checked) { border-color: var(--gold); background: rgba(203,181,142,.09); }
.purchase-check input { appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--gold); border-radius: 0; background: #27251f; cursor: pointer; }
.purchase-check input:checked { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-8' fill='none' stroke='%231f1d19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat; }
.purchase-check input:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.purchase-check:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.purchase-check strong, .purchase-check small { display: block; }
.purchase-check strong { color: var(--white); font-size: 13px; line-height: 1.4; }
.purchase-check small { margin-top: 3px; color: #bbb5a9; font-size: 11px; line-height: 1.55; }
.scan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.scan-card { min-width: 0; border: 1px solid var(--line); background: #1c1b1a; }
.scan-card-top { display: flex; justify-content: space-between; gap: 12px; min-height: 54px; padding: 17px 17px 12px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.scan-card-top span:last-child { color: #aaa59b; font-weight: 500; letter-spacing: 0; text-align: right; }
.scan-frame { position: relative; display: grid; place-items: center; aspect-ratio: 1.54; margin: 0 16px; border: 1px dashed rgba(203,181,142,.36); background: #25231f; overflow: hidden; }
.scan-frame::before, .scan-frame::after { position: absolute; width: 25px; height: 25px; content: ''; z-index: 1; pointer-events: none; }
.scan-frame::before { top: 7px; left: 7px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.scan-frame::after { right: 7px; bottom: 7px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.scan-frame img { width: 100%; height: 100%; object-fit: contain; }
.scan-frame img[hidden] { display: none; }
.scan-placeholder { max-width: 160px; color: #958d80; font-family: var(--serif); font-size: 22px; line-height: 1.3; text-align: center; }
.scan-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 15px 16px 17px; }
.scan-action { position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 6px 8px; border: 1px solid rgba(203,181,142,.36); color: #e6dccb; background: transparent; font: inherit; font-size: 11px; font-weight: 600; text-align: center; cursor: pointer; }
.scan-action-capture { border-color: rgba(203,181,142,.65); color: var(--gold-bright); background: rgba(203,181,142,.1); }
.scan-actions [data-camera] { grid-column: 1 / -1; }
.scan-action:hover { border-color: var(--gold); background: rgba(203,181,142,.07); }
.scan-action:has(input:disabled), .scan-action:disabled { opacity: .42; cursor: not-allowed; pointer-events: none; }
.scan-action input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; -webkit-appearance: none; }
.scan-action:has(input:focus-visible) { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.scan-card--loading .scan-frame { background: #1d1b17; }
.scan-card--loading .scan-placeholder { opacity: 0; }
.scan-card--loading .scan-frame::before { animation: scan-spin .9s linear infinite; transform-origin: 8px 8px; }
@keyframes scan-spin { to { transform: rotate(360deg); } }
.scan-card--recognized { border-color: rgba(203,181,142,.55); }
.scan-card--recognized .scan-card-top { background: rgba(203,181,142,.06); }
@keyframes ocr-fill-flash { 0% { background: rgba(203,181,142,.22); } 100% { background: transparent; } }
.purchase-field input[data-ocr-filled="true"] { animation: ocr-fill-flash 1.6s ease-out forwards; }
.purchase-inline-actions { display: flex; align-items: center; gap: 20px; margin-top: 25px; }
.purchase-inline-actions p { margin: 0; color: #aca69b; font-size: 12px; line-height: 1.6; }
.scan-quality-result { margin-top: 18px; padding: 16px 18px; border: 1px solid rgba(203,181,142,.42); background: rgba(203,181,142,.07); color: #d9d2c6; font-size: 12px; line-height: 1.6; }
.scan-quality-result[hidden] { display: none; }
.scan-quality-result strong { color: var(--gold-bright); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.scan-quality-result ul { margin: 9px 0 0; padding-left: 18px; }
.scan-quality-result li + li { margin-top: 5px; }
.scan-quality-result.has-warning { border-color: rgba(212,153,117,.7); color: #f2d7c6; background: rgba(147,73,46,.16); }
.scan-quality-result.has-warning strong { color: #f4bb91; }
.purchase-primary, .purchase-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 0 18px; border: 1px solid var(--gold); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease; }
.purchase-primary { color: #211e1a; background: var(--gold); }
.purchase-primary:hover { background: var(--gold-bright); }
.purchase-primary:disabled { opacity: .5; cursor: not-allowed; }
.purchase-secondary { color: var(--gold-bright); background: transparent; }
.purchase-secondary:hover { background: rgba(203,181,142,.1); }
.ocr-details { margin-top: 20px; border: 1px solid var(--line); padding: 15px 18px; color: #c9c4ba; font-size: 12px; }
.ocr-details[hidden] { display: none; }
.ocr-details summary { cursor: pointer; color: var(--gold); }
.ocr-details pre { max-height: 270px; margin: 17px 0 0; overflow: auto; white-space: pre-wrap; font: 12px/1.6 var(--sans); }
.purchase-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 18px; }
.purchase-field input[data-ocr-filled="true"] { border-left: 3px solid var(--gold); padding-left: 11px; }
.purchase-identity-warning, #review-ack-wrap { display: none !important; }
.purchase-verified { margin: 27px 0 0; }
.purchase-wide { grid-column: 1 / -1; }
.buyer-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 26px; padding: 18px 20px; border: 1px solid var(--line); background: #1d1c1a; font-size: 12px; }
.buyer-card span:first-child { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.buyer-card strong { font-weight: 600; }
.buyer-card span:last-child { color: #b7b1a8; }
.purchase-table-wrap { width: 100%; overflow-x: auto; }
.purchase-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.purchase-table th { padding: 0 8px 12px; color: var(--gold); font-size: 10px; font-weight: 700; text-align: left; white-space: nowrap; }
.purchase-table td { padding: 7px 8px 7px; border-top: 1px solid var(--line); }
.purchase-table th:first-child, .purchase-table td:first-child { width: 36px; padding-left: 0; color: #ada79d; font-size: 12px; }
.purchase-table th:nth-child(2) { width: 24%; }
.purchase-table th:nth-child(3) { width: 16%; }
.purchase-table th:nth-child(4) { width: 20%; }
.purchase-table th:nth-child(5) { width: 25%; }
.purchase-table th:last-child, .purchase-table td:last-child { width: 44px; padding-right: 0; }
.purchase-table input, .purchase-table select { min-height: 42px; padding-inline: 9px; font-size: 12px; }
.purchase-table select { padding-right: 23px; background-position: right 7px center; }
.item-remove { width: 44px; height: 44px; border: 0; color: #b7b1a8; background: transparent; font-size: 20px; cursor: pointer; }
.item-remove:hover { color: #e7a89b; }
.purchase-table-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 22px; }
.purchase-add { min-height: 44px; padding: 0; border: 0; color: var(--gold-bright); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.purchase-add:hover { text-decoration: underline; text-underline-offset: 4px; }
.purchase-totals { display: grid; gap: 10px; min-width: 195px; font-size: 12px; }
.purchase-totals span { display: flex; justify-content: space-between; gap: 20px; color: #b7b1a8; }
.purchase-totals strong { color: var(--white); font-weight: 700; }
.signature-row { display: flex; align-items: center; gap: 18px; margin: 29px 0 35px; }
.signature-preview { display: grid; place-items: center; width: min(100%, 360px); height: 116px; border: 1px solid var(--line); background: #1f1e1c; color: #a7a197; font-family: var(--serif); font-size: 20px; }
.signature-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.receipt-reference { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 19px; color: var(--gold); }
.receipt-reference span { font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.receipt-reference strong { color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
/* --- Eleganter Abschluss-Bereich (Beleg fertigstellen) --- */
.finish-card {
  margin-top: 32px;
  padding: 26px 30px;
  border: 1px solid rgba(203, 181, 142, .32);
  background: linear-gradient(180deg, #1d1b18 0%, #151412 100%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(203, 181, 142, .12);
}

.finish-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(203, 181, 142, .14);
}

.finish-card-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--white);
}

.finish-card-subtitle {
  margin: 6px 0 0;
  color: #a8a296;
  font-size: 13px;
  line-height: 1.5;
  max-width: 520px;
}

.signature-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  transition: all .25s ease;
  flex: none;
}

.signature-badge.is-locked {
  background: rgba(184, 82, 45, .15);
  border: 1px solid rgba(212, 133, 97, .5);
  color: #f2cbba;
}

.signature-badge.is-locked .badge-icon {
  color: #f4bb91;
}

.signature-badge.is-unlocked {
  background: rgba(203, 181, 142, .16);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
}

.signature-badge.is-unlocked .badge-icon {
  color: var(--gold-bright);
}

.finish-card-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 12px;
  padding: 22px 0 18px;
}

.finish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, opacity .2s ease;
  white-space: nowrap;
}

.finish-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.finish-btn.purchase-secondary {
  color: var(--gold-bright);
  background: transparent;
}

.finish-btn.purchase-secondary:hover:not(:disabled) {
  background: rgba(203, 181, 142, .1);
}

.finish-btn.purchase-primary {
  color: #211e1a;
  background: var(--gold);
  box-shadow: 0 4px 18px rgba(203, 181, 142, .25);
}

.finish-btn.purchase-primary:hover:not(:disabled) {
  background: var(--gold-bright);
}

.finish-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  filter: grayscale(.4);
  box-shadow: none;
}

.finish-btn .btn-icon,
.finish-btn .action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 16px;
  height: 16px;
}

.finish-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(203, 181, 142, .1);
}

.finish-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8c867b;
  font-size: 11px;
  line-height: 1.4;
}

.finish-note svg {
  flex: none;
  color: var(--gold);
  opacity: .75;
}

.purchase-status {
  margin: 0;
  color: var(--gold-bright);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}
.purchase-status:empty { display: none; }

@media (max-width: 860px) {
  .finish-card {
    padding: 22px 18px;
  }
  .finish-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .finish-card-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .finish-btn {
    width: 100%;
    min-height: 52px;
  }
  .finish-btn-primary {
    order: -1;
  }
}
.purchase-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px 35px; border-top: 1px solid var(--line); color: #aaa49a; font-size: 11px; }
.purchase-footer div { display: flex; gap: 24px; }
.purchase-footer a:hover { color: var(--gold); }
.purchase-dialog { width: min(100% - 32px, 740px); max-height: calc(100dvh - 32px); padding: 28px; border: 1px solid rgba(203,181,142,.45); color: var(--white); background: #1c1b19; box-shadow: 0 25px 90px rgba(0,0,0,.6); }
.purchase-dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(5px); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dialog-head .kicker { margin-bottom: 7px; }
.dialog-head h2 { margin: 0; font-size: 38px; }
.dialog-close { width: 44px; height: 44px; border: 0; color: var(--gold); background: transparent; font-size: 28px; cursor: pointer; }
.purchase-dialog > p { margin: 14px 0 20px; color: #bdb7ad; font-size: 12px; line-height: 1.6; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.camera-dialog { width: min(100% - 24px, 860px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.camera-dialog .dialog-actions { position: sticky; bottom: 0; z-index: 2; padding-block: 12px; background: #1c1b19; }
.camera-stage { position: relative; width: min(100%, calc(52vh * 1.58)); width: min(100%, calc(52dvh * 1.58)); aspect-ratio: 1.58; margin-inline: auto; overflow: hidden; background: #090909; }
.camera-stage video { width: 100%; height: 100%; object-fit: cover; }
.camera-guide { position: absolute; inset: 10%; border: 2px solid var(--gold); border-radius: 8px; box-shadow: 0 0 0 999px rgba(0,0,0,.24); pointer-events: none; }
.camera-stage #camera-review-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.camera-stage #camera-review-image[hidden], .camera-review-status[hidden], .camera-dialog #camera-retake[hidden] { display: none; }
.camera-stage.reviewing video, .camera-stage.reviewing .camera-guide { display: none; }
.camera-review-status { margin: 12px 0 0; padding: 10px 13px; border: 1px solid rgba(203,181,142,.4); color: #e9e0d0; background: rgba(203,181,142,.08); font-size: 12px; line-height: 1.5; }
.signature-dialog canvas { display: block; width: 100%; height: 230px; border: 1px solid rgba(203,181,142,.4); background: #f1eee8; cursor: crosshair; touch-action: none; }
.signature-agreement { margin: 0 0 16px; }
.signature-dialog .dialog-actions { flex-wrap: wrap; }
.pdf-preview-dialog { width: min(100% - 24px, 950px); }
.pdf-preview-dialog[open] { display: flex; flex-direction: column; height: min(calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 900px); max-height: none; overflow: hidden; }
.pdf-preview-status:empty { display: none; }
#archive-preview-label,
#pdf-preview-label { margin: 4px 0 14px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.pdf-preview-pages { display: grid; justify-items: center; align-content: start; gap: 16px; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px; border: 1px solid var(--line); background: #24221f; -webkit-overflow-scrolling: touch; }
.pdf-preview-pages canvas { display: block; max-width: 100%; height: auto; background: #fff; box-shadow: 0 10px 32px rgba(0,0,0,.5); border-radius: 2px; }
.pdf-preview-pages[hidden] { display: none; }
#archive-preview-frame { display: block; width: 100%; flex: 1 1 auto; min-height: 520px; border: 1px solid rgba(203, 181, 142, .3); border-radius: 4px; background: #22201d; }
#archive-preview-frame[hidden] { display: none; }
.pdf-preview-dialog .dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.archive-dialog { width: min(100% - 24px, 820px); }
.archive-dialog #archive-unlock-form, .archive-page-panel #archive-unlock-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 16px; }
.archive-dialog #archive-unlock-form .dialog-actions, .archive-page-panel #archive-unlock-form .dialog-actions { grid-column: 1 / -1; margin-top: 2px; }
.archive-dialog #archive-unlock-form[hidden], .archive-dialog #archive-unlock-form [hidden], .archive-dialog #archive-save-done[hidden], .archive-page-panel #archive-unlock-form[hidden], .archive-page-panel #archive-unlock-form [hidden], .archive-page-panel #archive-browser[hidden] { display: none; }
.archive-main { min-height: calc(100dvh - 170px); }
.archive-panel-body { min-height: 260px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); background: rgba(28, 27, 25, .88); }
.archive-page-panel #archive-unlock-form { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.archive-page-panel #archive-unlock-form .dialog-actions { grid-column: 1; justify-content: flex-start; }
.archive-page-panel #archive-search { max-width: 560px; margin-bottom: 24px; }
.archive-list { display: grid; gap: 12px; }
.archive-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 92px; padding: 18px 20px; border: 1px solid var(--line); background: #24221f; }
.archive-card strong, .archive-card span { display: block; }
.archive-card strong { font-size: 15px; font-weight: 600; }
.archive-card span { margin-top: 4px; color: #bdb5a9; font-size: 11px; }
.archive-card-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.archive-card-actions button { min-width: 82px; min-height: 44px; padding: 0 10px; border: 1px solid rgba(203,181,142,.38); color: var(--gold-bright); background: transparent; font: inherit; font-size: 11px; cursor: pointer; }
.archive-card-actions button:hover { border-color: var(--gold); background: rgba(203,181,142,.1); }
.archive-card-actions button[data-action="delete"] { color: #e2a89a; }
.archive-empty { display: grid; place-items: center; min-height: 148px; margin: 0; padding: 23px 16px; border: 1px solid var(--line); color: #bdb5a9; font-size: 12px; text-align: center; }

@media (max-width: 1024px) {
  .purchase-section { grid-template-columns: 1fr; gap: 25px; }
  .purchase-section-head { align-items: center; }
  .purchase-section-head .kicker { margin-bottom: 5px; }
}

@media (max-width: 880px) {
  .purchase-header-inner { grid-template-columns: 1fr auto; gap: 8px 16px; padding-block: 10px; }
  .purchase-nav { grid-column: 1 / -1; grid-row: 2; }
  .purchase-logout { grid-column: 2; grid-row: 1; }
}

@media (max-width: 680px) {
  .purchase-header-inner { grid-template-columns: 1fr auto; gap: 4px 12px; padding-block: 8px; }
  .purchase-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-left: 0; }
  .purchase-nav a, .purchase-nav button { padding-inline: 8px; font-size: 11px; line-height: 1.25; }
  .purchase-logout { grid-column: 2; grid-row: 1; margin-left: auto; }
  .purchase-main { padding-block: 52px 78px; }
  .purchase-intro { display: flex; align-items: flex-start; flex-direction: column; min-height: 0; }
  .purchase-demo-button { align-self: flex-start; }
  .purchase-intro h1 { font-size: clamp(53px, 11vw, 72px); }
  .purchase-alert { align-items: flex-start; flex-direction: column; gap: 5px; }
  .purchase-alert strong { flex-basis: auto; }
  .archive-panel-body { min-height: 0; }
  .scan-grid { grid-template-columns: 1fr; }
  .purchase-fields { grid-template-columns: 1fr; }
  .purchase-wide { grid-column: auto; }
  .purchase-table { min-width: 620px; }
  .purchase-inline-actions, .purchase-table-bottom, .signature-row, .purchase-finish { align-items: flex-start; flex-direction: column; }
  .purchase-finish-actions { justify-content: flex-start; }
  .archive-dialog #archive-unlock-form, .archive-page-panel #archive-unlock-form { grid-template-columns: 1fr; }
  .archive-dialog #archive-unlock-form .dialog-actions, .archive-page-panel #archive-unlock-form .dialog-actions { grid-column: auto; }
  .archive-card { align-items: flex-start; flex-direction: column; }
  .archive-card-actions { justify-content: flex-start; }
  .signature-preview { width: 100%; }
  .purchase-footer { flex-direction: column; }
  .purchase-dialog { padding: 20px; }
  .dialog-actions { flex-wrap: wrap; }
}

@media (orientation: landscape) and (max-height: 600px) {
  .camera-dialog { padding: 12px 18px max(12px, env(safe-area-inset-bottom)); }
  .camera-dialog .dialog-head h2 { font-size: 27px; }
  .camera-dialog .dialog-head .kicker { margin-bottom: 2px; }
  .camera-dialog > p { margin: 8px 0; }
  .camera-dialog .dialog-actions { margin-top: 8px; padding-block: 8px; }
  .camera-stage { width: min(100%, calc(48dvh * 1.58)); }
}

@media (hover: none) and (pointer: coarse) {
  body, .login-page, .purchase-page { background-attachment: scroll; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Rechteckige Aktionsbuttons füllen sich mit Gold; Textlinks bleiben unterstrichen. */
:is(
  .button-gold,
  .hero .button-gold,
  .products-visit .button-gold,
  .metal-prices-button,
  .google-reviews-link,
  .location-actions a:first-child,
  .purchase-demo-button,
  .scan-action,
  .purchase-primary,
  .purchase-secondary,
  .archive-card-actions button
) {
  --square-fill: var(--gold);
  border: 1px solid var(--square-fill);
  border-radius: 0;
  color: var(--square-rest, var(--gold-bright));
  background: transparent linear-gradient(var(--square-fill), var(--square-fill)) left center / 0% 100% no-repeat;
  transition: background-size .48s cubic-bezier(.22, 1, .36, 1), color .28s ease, border-color .28s ease, transform .28s ease;
}

:is(
  .button-gold,
  .hero .button-gold,
  .products-visit .button-gold,
  .metal-prices-button,
  .google-reviews-link,
  .location-actions a:first-child,
  .purchase-demo-button,
  .scan-action,
  .purchase-primary,
  .purchase-secondary,
  .archive-card-actions button
):is(:hover, :focus-visible, :active, .is-pressed):not(:disabled) {
  border-color: var(--square-fill);
  color: var(--ink);
  background-color: transparent;
  background-image: linear-gradient(var(--square-fill), var(--square-fill));
  background-size: 100% 100%;
  transform: translateY(-2px);
}

.google-reviews-link:is(:hover, :focus-visible, :active, .is-pressed) span { color: var(--ink); }
.archive-card-actions button[data-action="delete"] { --square-fill: #e2a89a; --square-rest: #e2a89a; }

.back-to-top,
.back-to-top.reveal-pending.is-revealed {
  background-color: rgba(23, 23, 23, .94);
  background-image: linear-gradient(var(--gold), var(--gold));
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size .48s cubic-bezier(.22, 1, .36, 1), color .28s ease, transform .28s ease;
}

.back-to-top:is(:hover, :focus-visible, :active, .is-pressed),
.back-to-top.reveal-pending.is-revealed:is(:hover, :focus-visible, :active, .is-pressed) {
  color: var(--ink);
  background-color: rgba(23, 23, 23, .94);
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 100% 100%;
  transform: translateY(-4px);
}

/* Vektor-Pfeile statt systemabhängiger Emoji-Glyphen auf iOS. */
.arrow-icon,
.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 17px;
  height: 17px;
  line-height: 0;
  vertical-align: middle;
}

.ui-arrow {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collection-card-info > .arrow-icon {
  width: 24px;
  height: 24px;
}

.login-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.login-back .arrow-icon {
  width: 15px;
  height: 15px;
}

@media (hover: none) and (pointer: coarse) {
  :is(
    .button-gold,
    .hero .button-gold,
    .products-visit .button-gold,
    .metal-prices-button,
    .google-reviews-link,
    .location-actions a:first-child,
    .purchase-demo-button,
    .scan-action,
    .purchase-primary,
    .purchase-secondary,
    .archive-card-actions button
  ):hover:not(.is-pressed):not(:active):not(:focus-visible) {
    color: var(--square-rest, var(--gold-bright));
    background-size: 0% 100%;
    transform: none;
  }
  .google-reviews-link:hover:not(.is-pressed):not(:active):not(:focus-visible) span { color: var(--gold-bright); }
  .back-to-top { transition-duration: .12s; }
  .back-to-top:hover:not(.is-pressed):not(:active):not(:focus-visible) {
    color: var(--gold);
    background-size: 0% 100%;
    transform: none;
  }
}
