/* Values follow lichtbild.com's Tailwind classes (measured 2026-10-28); md = 768 px. */
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/hanken-grotesk-latin.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/source-serif-4-italic-latin.woff2') format('woff2'); }

:root {
  --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-300: #d1d5db; --gray-400: #9ca3af;
  --gray-500: #6b7280; --gray-600: #4b5563; --gray-700: #374151; --gray-800: #1f2937; --gray-900: #111827;
  --neutral-100: #f5f5f5; --neutral-200: #e5e5e5; --neutral-500: #737373; --neutral-600: #525252; --neutral-900: #171717;
  --blue-500: #3d8df7; --blue-50: #f0f6ff; --red-500: #ef4444; --emerald-500: #10b981; --emerald-600: #059669; --yellow-400: #facc15;
  --ink: var(--gray-900); --text: var(--gray-700); --muted: var(--gray-500); --line: var(--gray-200); --soft: var(--gray-50); --gray: var(--gray-100);
  --blue: var(--blue-500); --blue-soft: var(--blue-50); --red: var(--red-500);
  --radius: 16px; --radius-sm: 12px; --header-h: 64px;
  --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --serif: 'Source Serif 4', ui-serif, Georgia, serif;
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; color: #000; background: var(--gray-100); }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.leaflet-pane svg { width: auto; height: auto; stroke-width: initial; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 768px; }
.center { text-align: center; }
.small { font-size: 12px; line-height: 16px; }
.muted { color: var(--muted); }
mark[data-placeholder-text] { background: #fef3c7; color: inherit; border-radius: 4px; padding: 0 3px; }

/* Header: transparent with backdrop-blur-xl; white text over the configurator hero, black elsewhere. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--header-h); color: #fff; background: transparent; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); transition: color .3s; }
.site-header.is-solid { color: #000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 8px; }
.logo { display: block; width: 132px; }
.logo img { width: 100%; }
.logo-on-light, .site-header.is-solid .logo-on-dark { display: none; }
.site-header.is-solid .logo-on-light { display: block; }
.main-nav { display: flex; gap: 32px; margin-left: auto; margin-right: 32px; font-size: 14px; line-height: 20px; }
.main-nav a { position: relative; text-decoration: none; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; border-radius: 999px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-button { position: relative; display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: inherit; }
.icon-button svg { width: 20px; height: 20px; } /* Lichtbild: lucide 20 px */
.menu-button { display: none; }
.cart-count { position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
.mobile-menu { display: grid; padding: 8px 16px 16px; background: #fff; color: #000; }
.mobile-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }

/* Configurator hero: md:h-[60svh] min-h-96 max-h-[720px]; blurred cover behind a contained image; square crop on phones. */
.hero { position: relative; height: clamp(384px, 60svh, 720px); overflow: hidden; background: #000; }
.hero-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); filter: blur(24px); }
.hero-image { position: absolute; top: 0; bottom: 0; left: 50%; width: 100%; max-width: 1280px; height: 100%; transform: translateX(-50%); object-fit: contain; object-position: center; }
.hero-mobile { display: none; }
.hero-shade-top { position: absolute; inset: 0 0 auto; height: 96px; background: linear-gradient(to bottom, rgba(0, 0, 0, .4), transparent); pointer-events: none; }
.hero-shade-bottom { position: absolute; inset: auto 0 0; height: 50%; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); pointer-events: none; }
.hero-copy { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 96px 24px 32px; text-align: center; color: #fff; }
.hero-copy > * { max-width: 672px; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.hero h1 { font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -.025em; }
.hero-sub { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 28px; color: rgba(255, 255, 255, .9); }
.trust-strip { display: block; padding: 20px 16px; font-size: 14px; line-height: 20px; letter-spacing: .025em; text-align: center; color: #000; background: rgba(255, 255, 255, .9); backdrop-filter: blur(4px); }
.trust-strip a { font-weight: 700; text-decoration: none; }
.trust-strip a:hover { text-decoration: underline; }

/* Configurator: max-w-7xl grid md:grid-cols-2 md:gap-8 md:px-4 md:py-8 */
.configure-section { padding: 32px 0 0; }
.configure-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.gallery-column { position: sticky; top: 80px; }
.gallery { position: relative; overflow: hidden; border-radius: 16px; background: #fff; aspect-ratio: 1; }
.gallery-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: center; overflow: hidden; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; }
.gallery-thumbs { display: flex; gap: 8px; padding: 8px 8px 8px 0; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb { position: relative; flex: none; width: 48px; height: 48px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 12px; background: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-selected='true'] { border-color: var(--blue-500); }
.thumb-badge { position: absolute; right: 2px; bottom: 2px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; }
.thumb-badge svg { width: 10px; height: 10px; stroke-width: 3; }

.preview-card { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 24px; background: rgba(243, 244, 246, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.preview-card-inner { width: min(340px, 100%); padding: 24px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-xl); text-align: center; }
.spinner { width: 36px; height: 36px; margin: 0 auto 16px; border: 3px solid var(--blue-50); border-top-color: var(--blue-500); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } html { scroll-behavior: auto; } }
.preview-title { font-weight: 700; }
.preview-message { margin-top: 4px; font-size: 14px; color: var(--gray-500); min-height: 20px; }
.progress { height: 6px; margin-top: 16px; overflow: hidden; border-radius: 999px; background: var(--gray-100); }
.progress-bar { width: 0; height: 100%; border-radius: inherit; background: var(--blue-500); transition: width .4s ease; }
.preview-percent { margin-top: 8px; font-size: 12px; color: var(--gray-500); font-variant-numeric: tabular-nums; }

.config-column { display: flex; flex-direction: column; min-width: 0; }
.config-head h2 { font-size: 20px; line-height: 28px; font-weight: 700; }
.config-sub { margin-bottom: 32px; font-size: 12px; line-height: 16px; color: var(--gray-500); }
.config-steps { display: flex; flex-direction: column; gap: 32px; }
.step { display: flex; flex-direction: column; gap: 8px; }
.step h3 { font-size: 14px; line-height: 20px; font-weight: 600; }
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.after-size { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.link-button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--blue-500); font-size: 12px; line-height: 16px; }
.link-button:hover { text-decoration: underline; }
.link-button svg { width: 16px; height: 16px; stroke-width: 2; transition: transform .2s; }
.link-button[aria-expanded='true'] svg { transform: rotate(180deg); }
.compare-panel { width: 100%; max-width: 448px; margin: 0 auto; }
.compare-frame { position: relative; overflow: hidden; border-radius: 12px; }
.compare-frame.video { aspect-ratio: 16 / 9; }
.compare-frame.wide { aspect-ratio: 2 / 1; }
.compare-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.size-grid, .frame-grid, .scheme-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.choice { position: relative; display: flex; flex-direction: column; align-items: stretch; min-width: 0; text-align: left; color: #000; border: 2px solid var(--gray-200); border-radius: 16px; background: var(--gray-50); background-clip: padding-box; transition: background-color .2s, border-color .2s; }
.choice:hover { background-color: var(--gray-100); }
.choice[aria-checked='true'] { z-index: 1; border-color: var(--blue-500); background-color: var(--blue-50); }
.size-choice { min-height: 112px; padding: 12px; }
.size-choice.wide { grid-column: 1 / -1; }
.choice-title { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--gray-900); }
.choice-sub { font-size: 12px; line-height: 16px; color: var(--gray-500); }
.choice-price { margin-top: auto; padding-top: 12px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--gray-900); white-space: nowrap; }
.frame-choice { flex-direction: row; align-items: center; justify-content: space-between; padding: 8px; }
.frame-choice[aria-checked='true']:hover { background-color: var(--blue-50); }
.frame-label { padding: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.frame-dot { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gray-200); }
.scheme-choice { padding: 8px; overflow: hidden; }
.scheme-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.scheme-top [data-scheme-price] { font-size: 12px; line-height: 16px; font-weight: 400; }
.bands { display: flex; width: 100%; overflow: hidden; border: 1px solid var(--gray-200); border-radius: 12px; }
.bands i { flex: 1; height: 16px; }

/* Region: white card (rounded-2xl, border-2 transparent), search p-2 > input p-2 rounded-xl, map rounded-xl aspect-square max-h-96 */
.region-head { display: flex; flex-direction: column; gap: 4px; }
.region-note { font-size: 12px; line-height: 1; color: var(--gray-500); }
.region-wrap { position: relative; }
.region-card { overflow: hidden; border: 2px solid transparent; border-radius: 16px; background: #fff; background-clip: padding-box; transition: opacity .2s; }
.region-card.is-disabled { opacity: .5; pointer-events: none; }
.search { position: relative; display: flex; align-items: center; padding: 8px; font-size: 14px; line-height: 20px; }
.search-icon { width: 14px; height: 14px; margin-left: 8px; fill: currentColor; stroke: none; }
.search input { flex: 1; min-width: 0; padding: 8px; border: 0; border-radius: 12px; background: #fff; outline: none; font-size: 16px; line-height: 20px; }
.search input::placeholder { color: var(--gray-400); }
.search input::-webkit-search-cancel-button { display: none; }
.search-results { position: absolute; left: 8px; right: 8px; top: calc(100% - 4px); z-index: 1000; display: grid; padding: 4px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); }
.search-results button { padding: 10px 12px; border: 0; border-radius: 8px; background: none; text-align: left; font-size: 14px; }
.search-results button:hover, .search-results button[aria-selected='true'] { background: var(--gray-100); }
.search-credit { position: absolute; z-index: 1001; right: 12px; margin-top: -4px; font-size: 10px; color: var(--gray-500); }
.map-wrap { position: relative; width: 100%; aspect-ratio: 1; max-height: 384px; overflow: hidden; border-radius: 12px; background: #ddd; isolation: isolate; }
.map { position: absolute; inset: 0; }
/* Lichtbild: Leaflet rectangle stroke #2397ea 2 px, and a 20 % black mask (evenodd) over everything outside it */
.map-square { position: absolute; left: 50%; top: 50%; z-index: 500; width: var(--square, 280px); height: var(--square, 280px); transform: translate(-50%, -50%); border: 2px solid #2397ea; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .2); pointer-events: none; }
.map-dim { position: absolute; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; padding: 16px; }
.map-dim p { padding: 12px; border: 2px solid transparent; border-radius: 16px; background: #fff; background-clip: padding-box; color: var(--red-500); font-size: 12px; line-height: 16px; text-align: center; }
.map-notice { position: absolute; left: 8px; right: 8px; top: 8px; z-index: 700; padding: 8px 12px; border-radius: 8px; background: #fff; font-size: 12px; }
.leaflet-container { font-family: var(--sans); background: #ddd; }
.leaflet-control-attribution { font-size: 8px; line-height: 12px; }
.mapbox-credit img { width: 72px; height: auto; }
.zoom-row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--gray-100); margin-top: 1px; }
.round-button { display: flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: var(--gray-100); color: var(--gray-600); font-size: 14px; line-height: 20px; font-weight: 700; }
.round-button:hover { background: var(--gray-200); }
.zoom-row input[type=range] { flex: 1; width: 100%; height: 6px; margin: 0; -webkit-appearance: none; appearance: none; background: var(--gray-200); border-radius: 999px; cursor: pointer; }
.zoom-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 999px; background: #000; border: 0; }
.zoom-row input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 999px; background: #000; border: 0; }

.option-card { display: flex; overflow: hidden; border: 2px solid transparent; border-radius: 16px; background: #fff; background-clip: padding-box; }
.option-image { position: relative; flex: none; width: 144px; }
.option-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.option-body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 12px; padding: 16px; }
.option-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.option-head h3 { font-size: 14px; line-height: 20px; font-weight: 600; }
.option-price { flex: none; font-size: 12px; line-height: 16px; white-space: nowrap; }
.option-text { margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--gray-600); }
.soft-button { width: 100%; padding: 8px; border: 1px solid var(--gray-200); border-radius: 12px; background: var(--gray-200); color: #000; font-size: 14px; line-height: 20px; white-space: nowrap; transition: background-color .2s; }
.soft-button:hover:not(:disabled) { background: var(--gray-300); }
.soft-button:disabled { opacity: .5; }

/* Summary card: spacer h-12, bg-white rounded-2xl, buttons p-4 text-sm rounded-xl font-bold */
.summary-card { display: flex; flex-direction: column; margin-top: 48px; overflow: hidden; border-radius: 16px; background: #fff; }
.summary-line { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 0; }
.summary-line span { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--gray-900); }
.summary-line strong { font-size: 16px; line-height: 24px; font-weight: 700; }
.summary-hint { margin-top: 16px; font-size: 14px; line-height: 20px; font-weight: 600; text-align: center; color: var(--gray-900); }
.summary-preview { padding: 0 16px; margin-top: 16px; }
.summary-cart { padding: 12px 16px 16px; }
.preview-button, .cart-add-button { width: 100%; padding: 16px; border: 1px solid #000; border-radius: 12px; background: #000; color: #fff; font-size: 14px; line-height: 20px; font-weight: 700; transition: all .2s; }
.preview-button { border-color: var(--blue-500); background: var(--blue-500); box-shadow: var(--shadow-xl); }
.preview-button:hover:not(:disabled) { background: transparent; color: var(--blue-500); }
.cart-add-button:hover:not(:disabled) { background: transparent; color: #000; }
.preview-button:disabled, .cart-add-button:disabled { opacity: .5; }
.preview-inner { display: block; padding: 8px 0; }
.preview-inner small { display: block; font-size: 12px; line-height: 16px; font-weight: 400; opacity: .7; white-space: normal; }
.form-error { margin-top: 8px; font-size: 13px; color: var(--red-500); text-align: center; }

/* FAQ: max-w-3xl, rows border-b, py-5, text-base font-medium, plus 11 px gray-400 */
.faq { max-width: 800px; padding: 80px 16px; }
.faq h2 { margin-bottom: 40px; font-size: 20px; line-height: 28px; font-weight: 700; text-align: center; color: var(--gray-900); text-wrap: balance; }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; list-style: none; cursor: pointer; user-select: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; background: linear-gradient(var(--gray-400), var(--gray-400)) center / 100% 1.5px no-repeat, linear-gradient(var(--gray-400), var(--gray-400)) center / 1.5px 100% no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--gray-400), var(--gray-400)) center / 100% 1.5px no-repeat; }
.faq summary h3 { padding-right: 24px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--gray-900); }
.answer { display: grid; gap: 12px; padding-bottom: 24px; font-size: 14px; line-height: 1.625; color: var(--gray-600); }
.answer-label { font-weight: 600; color: var(--gray-800); }
.delivery-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 0; }
.delivery-list dt { font-weight: 500; color: var(--gray-800); }
.delivery-list dd { margin: 0; }

/* Your place. Every detail. (black) */
.detail-section { padding: 128px 0 128px; background: #000; color: #fff; text-align: center; }
.display { font-size: 72px; line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.display-white { color: #fff; }
.display-gray { background: linear-gradient(to bottom, #d4d4d4, #737373); -webkit-background-clip: text; background-clip: text; color: transparent; }
.detail-section .narrow { max-width: 1024px; }
.display { white-space: nowrap; }
/* Lichtbild: max-w-2xl text-base md:text-lg font-medium leading-relaxed text-neutral-400 */
.detail-text { max-width: 672px; margin: 32px auto 0; font-size: 18px; line-height: 1.625; font-weight: 500; color: #a3a3a3; text-wrap: pretty; }
.compare-slider { position: relative; width: min(1024px, calc(100% - 32px)); margin: 48px auto 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; background: var(--gray-200); box-shadow: var(--shadow-xl); user-select: none; touch-action: pan-y; cursor: ew-resize; }
.compare-slider > img, .compare-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); pointer-events: none; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 1px; background: rgba(255, 255, 255, .9); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--gray-900); box-shadow: var(--shadow-lg); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-credit { position: absolute; left: 16px; bottom: 12px; font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, .7); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); text-align: left; }

/* Size on the wall: bg-neutral-100 py-20, image max-w-lg rounded-3xl shadow-2xl, toggle rounded-full bg-white/70 */
.size-section { padding: 80px 16px; background: var(--neutral-100); text-align: center; }
.size-inner { display: flex; max-width: 1024px; margin: 0 auto; flex-direction: column; align-items: center; }
.size-section h2 { max-width: 672px; margin-bottom: 32px; padding: 0 16px; font-size: 20px; line-height: 28px; font-weight: 700; color: var(--gray-900); }
.wall { position: relative; width: 100%; max-width: 512px; aspect-ratio: 1; overflow: hidden; border-radius: 24px; background: var(--neutral-200); box-shadow: 0 25px 50px -12px rgba(23, 23, 23, .1); }
.wall img { width: 100%; height: 100%; object-fit: cover; }
.wall-badge { position: absolute; left: var(--badge-x, 58.21%); top: var(--badge-y, 62.64%); z-index: 6; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; transform: translateX(-50%); border-radius: 999px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); font-size: 14px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--neutral-900); white-space: nowrap; box-shadow: 0 10px 15px -3px rgba(23, 23, 23, .1), 0 4px 6px -4px rgba(23, 23, 23, .1); }
.wall-badge svg { width: 14px; height: 14px; color: var(--neutral-500); }
.pill-wrap { display: flex; justify-content: center; width: 100%; margin-top: 24px; padding: 0 16px; }
.pill-toggle { display: flex; max-width: 100%; gap: 4px; padding: 6px; overflow-x: auto; border: 1px solid #fff; border-radius: 999px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(24px); box-shadow: 0 20px 25px -5px rgba(23, 23, 23, .05), 0 8px 10px -6px rgba(23, 23, 23, .05); }
.pill-toggle button { flex: none; padding: 10px 24px; border: 0; border-radius: 999px; background: none; font-size: 16px; line-height: 24px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--neutral-600); white-space: nowrap; }
.pill-toggle button:hover { color: var(--neutral-900); }
.pill-toggle button[aria-checked='true'] { background: var(--neutral-900); color: #fff; }
.choose-place-band { display: flex; justify-content: center; padding: 0 16px 64px; background: var(--gray-100); }
.black-button { display: grid; place-items: center; width: 100%; max-width: 384px; margin: 0 auto; padding: 16px; border: 1px solid #000; border-radius: 12px; background: #000; color: #fff; font-size: 14px; line-height: 20px; text-align: center; text-decoration: none; transition: all .2s; }
.black-button:hover { background: transparent; color: #000; }
.white-button { padding: 16px; border: 0; border-radius: 12px; background: #fff; font-weight: 500; font-size: 14px; }

/* About (configurator): bg-white md:py-20, image aspect-[8/6] max-w-xl rounded-2xl, text-lg/xl heading */
.about-section { padding: 80px 0; background: #fff; }
.about-flex { display: flex; align-items: center; justify-content: center; gap: 48px; max-width: 1152px; }
.about-media { width: 100%; max-width: 576px; flex: none; }
.about-media picture { display: block; }
.about-image { width: 100%; aspect-ratio: 8 / 6; object-fit: cover; border-radius: 16px; }
.about-copy { max-width: 512px; }
.about-copy h2 { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--gray-900); }
.about-copy p { margin-top: 8px; font-size: 14px; line-height: 1.625; color: var(--gray-600); }

/* Footer: bg-black py-8, grid md:grid-cols-4 gap-x-8 gap-y-10 px-8 py-12 text-sm */
.site-footer { padding: 32px 0; background: #000; color: #fff; }
.footer-logo { display: block; width: 180px; margin: 16px auto 0; }
.footer-tagline { margin: 16px 0 0; text-align: center; font-size: 14px; line-height: 20px; color: var(--gray-400); }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; max-width: 1152px; margin: 0 auto; padding: 48px 32px; font-size: 14px; line-height: 20px; }
.footer-columns > div { display: flex; flex-direction: column; gap: 12px; }
.footer-head { font-size: 14px; line-height: 20px; font-weight: 600; color: #fff; }
.footer-columns ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-columns a { color: var(--gray-300); text-decoration: none; }
.footer-columns a:hover { color: #fff; }
.market-pill { display: flex; align-items: center; gap: 8px; width: max-content; margin: 0 auto 40px; padding: 8px 16px; border: 1px solid var(--gray-600); border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--gray-300); text-transform: uppercase; }
.market-pill:hover { border-color: var(--gray-400); color: #fff; }
.market-pill svg { width: 12px; height: 12px; }
.copyright { padding: 16px 32px; font-size: 12px; line-height: 16px; font-weight: 700; text-align: center; color: var(--gray-300); }

/* Homepage (after www.lichtbild.com) */
.home main { padding-top: var(--header-h); }
.site-header[data-solid] { color: #000; }
/* same height as the /citymodel hero, so both pages open with an equally large photo */
.home-hero { --hero-h: clamp(384px, 60svh, 720px); position: relative; display: flex; align-items: center; justify-content: center; height: var(--hero-h); overflow: hidden; background: #000; color: #fff; text-decoration: none; }
/* Owner decision: the whole photo, centred over a blurred copy (as on /citymodel), since there is no landscape half to share the width with */
.home-hero-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); filter: blur(24px); }
/* full hero height where the window is wide enough (at most 1280 px wide, as on /citymodel), otherwise as wide as the window and lower, so no width crops the photo */
.home-hero-frame { position: relative; width: min(100%, 1280px, var(--hero-h) * 1920 / 1072); aspect-ratio: 1920 / 1072; overflow: hidden; }
.home-hero-media { position: absolute; inset: 0; transition: transform .5s; }
.home-hero:hover .home-hero-media { transform: scale(1.05); }
.home-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.home-hero-frame::after { content: ''; position: absolute; inset: auto 0 0; height: 50%; background: linear-gradient(to top, rgba(0, 0, 0, .5), transparent); pointer-events: none; }
.home-hero-copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; }
.home-hero h2 { font-size: 36px; line-height: 40px; font-weight: 700; }
.home-hero p { max-width: 448px; margin-bottom: 24px; font-size: 14px; line-height: 1.625; color: var(--gray-200); }
.white-cta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 12px 24px; border-radius: 12px; background: #fff; color: var(--gray-900); font-size: 14px; line-height: 20px; font-weight: 600; transition: all .3s; }
.white-cta svg { width: 14px; height: 14px; transition: transform .3s; }
.home-hero:hover .white-cta { gap: 16px; background: var(--blue-500); color: #fff; }
.home-hero:hover .white-cta svg { transform: translateX(4px); }
.trust-strip.on-black { background: rgb(230, 230, 230); }
.section-title { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -.025em; color: var(--gray-900); text-align: center; text-wrap: balance; }
.steps-section { padding: 96px 16px; background: #fff; }
.steps-section .container { max-width: 1152px; padding: 0; }
.steps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 64px; }
.steps-image-wrap { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--gray-100); }
.steps-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.steps { display: flex; flex-direction: column; gap: 28px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 16px; }
.step-number { display: flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--gray-300); border-radius: 50%; font-size: 14px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--gray-900); }
.steps h3 { font-size: 18px; line-height: 32px; font-weight: 600; color: var(--gray-900); }
.steps p { margin-top: 4px; font-size: 16px; line-height: 1.625; color: var(--gray-600); text-wrap: pretty; }
.black-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; margin-top: 40px; padding: 16px 40px; border: 1px solid #000; border-radius: 12px; background: #000; color: #fff; font-size: 16px; line-height: 24px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: all .2s; }
.black-cta:hover { background: transparent; color: #000; }
.reviews-section { padding: 96px 0; background: var(--gray-100); text-align: center; }
.reviews-head { max-width: 672px; margin: 0 auto 48px; padding: 0 16px; }
.stars { display: flex; justify-content: center; gap: 4px; margin-top: 12px; }
.star { position: relative; display: block; width: 16px; height: 16px; }
.star svg { position: absolute; inset: 0; width: 16px; height: 16px; stroke-width: 2; }
.star .star-empty { color: var(--gray-300); }
.star .star-fill { position: absolute; inset: 0; overflow: hidden; }
.star .star-fill svg { fill: var(--yellow-400); color: var(--yellow-400); }
.reviews-sub { margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--gray-600); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1152px; margin: 0 auto; padding: 0 16px; text-align: left; }
.review-card { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 16px; border: 1px solid var(--gray-200); border-radius: 16px; background: #fff; transition: background-color .2s; }
.review-card:hover { background: var(--blue-50); }
.small-stars { display: flex; gap: 2px; }
.small-stars svg { width: 12px; height: 12px; fill: var(--yellow-400); color: var(--yellow-400); }
.review-card blockquote { margin: 0; font-size: 14px; line-height: 20px; color: var(--gray-700); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; }
.review-card figcaption span:first-child { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--gray-900); }
.review-source { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--emerald-500); }
.home-about { padding: 96px 0; background: #fff; }
.home-about .about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; max-width: 1152px; }
.home-about .about-media { max-width: none; }
.home-about .about-image { aspect-ratio: 970 / 753; }
.home-about .about-copy { max-width: none; }
.home-about .about-copy h2 { font-size: 36px; line-height: 40px; letter-spacing: -.025em; text-wrap: balance; }
/* md:text-lg overrides leading-relaxed on lichtbild.com: 18 px on 28 px */
.home-about .about-copy p { max-width: 448px; margin-top: 16px; font-size: 18px; line-height: 28px; }
.home-faq { padding: 96px 16px; background: var(--gray-100); }
.home-faq .faq { max-width: 768px; padding: 0; }
.home-faq .faq h2 { margin-bottom: 40px; font-size: 36px; line-height: 40px; letter-spacing: -.025em; }
.home-contact { padding: 96px 16px; background: #fff; }
.contact-columns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 300px; margin: 48px auto 0; }
.contact-column { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0; text-align: center; text-decoration: none; }
.contact-column > svg { width: 20px; height: 20px; color: var(--gray-600); }
.contact-text { display: flex; flex-direction: column; gap: 4px; }
.contact-column strong { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--gray-900); text-decoration: underline; text-decoration-color: var(--gray-300); text-underline-offset: 4px; }
.contact-column:hover strong { text-decoration-color: var(--gray-900); }
.contact-column small { font-size: 16px; line-height: 1.625; color: var(--gray-500); text-wrap: pretty; }
.contact-chevron { display: none; }
.cm-contact { background: var(--gray-100); padding: 64px 16px; }
.cm-contact .section-title { font-size: 20px; line-height: 28px; letter-spacing: 0; }
.cm-contact .contact-columns { margin-top: 32px; }
.cm-contact .contact-column strong, .cm-contact .contact-column small { font-size: 14px; line-height: 20px; }

@media (max-width: 1023px) {
  .main-nav { margin-right: 16px; gap: 24px; }
  .about-flex { gap: 32px; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .menu-button { display: inline-grid; }
  .logo { width: 116px; }
  /* Configurator hero on phones: aspect-square, own crop, text-3xl, gradients from-black/45 and /85 */
  .hero { height: auto; aspect-ratio: 1; }
  .hero-backdrop, .hero-image { display: none; }
  .hero-mobile { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% calc(50% + 20px); }
  .hero-shade-top { height: 56px; background: linear-gradient(to bottom, rgba(0, 0, 0, .45), transparent); }
  .hero-shade-bottom { background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent); }
  .hero-copy { padding-bottom: 24px; }
  .hero h1 { font-size: 30px; line-height: 1.25; }
  .hero-sub { margin-top: 8px; font-size: 16px; line-height: 24px; }
  .trust-strip { padding: 16px; font-size: 12px; line-height: 16px; }
  .configure-section { padding: 0; }
  .configure-section > .configure-grid { padding: 0; }
  .configure-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 16px; }
  .gallery-column { position: static; }
  .gallery { border-radius: 0; aspect-ratio: 4 / 3; }
  .gallery-slide { flex-basis: 75%; }
  .gallery-slide:only-child { flex-basis: 100%; }
  .gallery-thumbs { padding: 8px 8px 13px; }
  .config-column { padding: 0 16px; }
  .summary-card { margin: 48px -16px 0; border-radius: 0; }
  .option-image { width: 112px; }
  /* Measured on lichtbild.com (390 px): 118 px from Add to cart to the FAQ title, 16 px below the last row. */
  .faq { padding: 32px 16px 16px; }
  .home-faq .faq { padding: 0; }
  .faq h2 { margin-bottom: 32px; font-size: 18px; line-height: 28px; }
  .faq summary { padding: 16px 0; }
  /* Lichtbild mobile: py-20, text px-6 gap-5, second title line pb-1, text font-medium neutral-400, slider aspect-square mt-10 */
  .detail-section { padding: 80px 0; }
  .detail-section .narrow { padding: 0 24px; }
  .detail-text { font-size: 16px; }
  .display { font-size: 48px; white-space: normal; }
  .display-gray { display: block; padding-bottom: 4px; }
  .detail-text { margin-top: 20px; font-size: 16px; line-height: 26px; font-weight: 500; color: #a3a3a3; }
  .compare-slider { width: 100%; aspect-ratio: 1 / 1; border-radius: 0; margin-top: 40px; box-shadow: none; }
  .compare-handle span { width: 40px; height: 40px; }
  /* Lichtbild: bottom-1.5 left-2 right-2 origin-bottom-left scale-75 leading-tight */
  .compare-credit { left: 8px; right: 8px; bottom: 6px; line-height: 1.25; transform: scale(.75); transform-origin: bottom left; }
  .size-section { padding: 48px 0; }
  .size-section h2 { margin-bottom: 24px; font-size: 18px; }
  .wall { max-width: none; border-radius: 0; box-shadow: none; }
  .wall-badge { font-size: 12px; line-height: 16px; }
  .pill-toggle button { padding: 10px 14px; font-size: 14px; line-height: 20px; }
  .choose-place-band { padding: 0 16px 40px; }
  .about-section { padding: 0 0 48px; }
  .about-flex { flex-direction: column; gap: 32px; padding: 0; }
  .about-image { border-radius: 0; }
  .about-copy { padding: 0 16px; text-align: center; }
  .about-copy h2, .cm-contact .section-title { font-size: 18px; }
  .cm-contact .container { padding: 0; }
  .site-footer > .container { padding: 0; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 40px 32px; }
  .home-hero { height: 350px; }
  /* phones: like Lichtbild the sharp photo fills the whole 350 px tile from the header to the strip (cropped at the sides) */
  .home-hero-backdrop { display: none; }
  .home-hero-frame { position: absolute; inset: 0; width: 100%; aspect-ratio: auto; }
  .home-hero-copy { padding: 24px; }
  .home-hero h2 { font-size: 24px; line-height: 32px; }
  .section-title { font-size: 24px; line-height: 32px; }
  .steps-section { padding: 64px 16px; }
  .steps-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 40px; }
  .steps-image-wrap { margin: 0 -16px; aspect-ratio: 4 / 3; border-radius: 0; }
  .black-cta { display: flex; width: 100%; padding: 16px; }
  .reviews-section { padding: 64px 0; }
  .reviews-head { margin-bottom: 32px; }
  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .review-card blockquote { font-size: 16px; line-height: 1.625; }
  .home-about { padding: 64px 0; }
  .home-about .about-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 0; margin-top: -64px; }
  .home-about .about-image { border-radius: 0; }
  .home-about .about-copy { padding: 0 16px; text-align: center; }
  .home-about .about-copy h2 { font-size: 24px; line-height: 32px; }
  .home-about .about-copy p { margin: 16px auto 0; font-size: 16px; line-height: 1.625; }
  .home-faq { padding: 64px 16px; }
  .home-faq .faq h2 { margin-bottom: 32px; font-size: 24px; line-height: 32px; }
  .home-contact { padding: 64px 16px; }
  .contact-columns { display: flex; flex-direction: column; gap: 0; max-width: 448px; margin-top: 32px; }
  .contact-column { flex-direction: row; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--gray-200); text-align: left; }
  .contact-column:first-child { border-top: 0; padding-top: 0; }
  .contact-column:last-child { padding-bottom: 0; }
  .contact-text { flex: 1; min-width: 0; }
  .contact-column strong { text-decoration: none; }
  .contact-chevron { display: block; width: 20px; height: 20px; color: var(--gray-400); }
}
/* Cart modal, after Lichtbild's cart (owner screenshot 2026-10-28, measured at 1.1×): fixed inset-0 bg-black/20 backdrop-blur-sm p-2 md:p-4;
   panel bg-gray-100 rounded-2xl max-w-2xl p-4 gap-4. Lichtbild's hanger, bundle and priority cards are left out (we don't offer them). */
.cart-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 8px; background: rgba(0, 0, 0, .2); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cart-modal[hidden] { display: none; }
.cart-panel { position: relative; display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 672px; max-height: 100%; overflow-y: auto; padding: 16px; border-radius: 16px; background: #f1f2f4; box-shadow: var(--shadow-lg); }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cart-head h3 { font-size: 18px; line-height: 28px; font-weight: 700; }
.cart-close { display: grid; place-items: center; padding: 0; border: 0; background: none; color: #000; cursor: pointer; }
.cart-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 192px; text-align: center; }
.cart-empty p:last-child { color: var(--gray-500); }
.cart-lines { display: flex; flex-direction: column; gap: 16px; }
/* One model: 160 px photo, title / coordinates / base price / "Load configuration", qty pill, price in an 80 px column */
.cart-line { display: flex; align-items: center; gap: 16px; }
.cart-line-image { flex: none; width: 160px; height: 160px; object-fit: cover; border-radius: 12px; background: var(--gray-300); }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-title { font-size: 16px; line-height: 24px; font-weight: 700; color: #000; }
.cart-line-coords { font-size: 12px; line-height: 16px; color: var(--gray-500); }
.cart-line-parts { margin: 4px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 16px; color: var(--gray-600); }
.cart-line-parts li span + span { margin-left: 8px; }
.cart-line-load { display: inline-block; margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--blue); text-decoration: none; }
.cart-line-load:hover { text-decoration: underline; }
.cart-line-buy { display: flex; flex: none; align-items: center; }
.qty { display: inline-flex; align-items: center; gap: 8px; padding: 6px; border-radius: 999px; background: #e1e3e8; }
.qty button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: #fff; color: #000; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; }
.qty button:hover { background: var(--gray-50); }
.qty span { min-width: 20px; text-align: center; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-line-price { width: 80px; text-align: center; font-size: 14px; line-height: 20px; font-weight: 600; }
.cart-divider { height: 2px; margin: 8px 0; border: 0; background: #e1e3e8; }
.cart-foot { display: flex; flex-direction: column; gap: 16px; }
.cart-total { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cart-total h4 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; }
.cart-total p { font-size: 12px; line-height: 16px; color: var(--gray-600); }
.cart-total strong { flex: none; font-size: 16px; line-height: 24px; font-weight: 700; }
/* Our addition: where we deliver, a small row under the total sub-line */
.ship-to { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--gray-600); }
.ship-to span { white-space: nowrap; }
.ship-to select { padding: 2px 6px; border: 1px solid var(--gray-300); border-radius: 8px; background: #fff; color: #000; font: inherit; font-size: 12px; }
.consent { display: flex; align-items: flex-start; gap: 16px; padding: 16px; border: 2px solid #e1e3e8; border-radius: 12px; background: var(--gray-50); font-size: 12px; line-height: 16px; color: var(--gray-900); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; border: 2px solid var(--gray-300); border-radius: 4px; background: #fff; appearance: none; -webkit-appearance: none; cursor: pointer; }
.consent input:checked { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.consent small { display: block; margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--gray-400); }
.consent.is-missing { border-color: var(--red); }
.checkout-button { width: 100%; padding: 16px; border: 2px solid var(--blue); border-radius: 12px; background: var(--blue); color: #fff; font-size: 14px; line-height: 20px; font-weight: 700; cursor: pointer; transition: all .2s; }
.checkout-button:hover:not(:disabled) { background: transparent; color: var(--blue); }
.checkout-button:disabled { opacity: .5; cursor: not-allowed; }
.pay-secure { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.pay-secure-head { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 700; color: #000; }
.pay-secure-head svg { width: 14px; height: 14px; fill: currentColor; }
.pay-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pay-icons img { display: block; width: 38px; height: 24px; }
.pay-secure > p:last-child { margin-top: -4px; font-size: 12px; line-height: 16px; color: var(--gray-400); }
@media (min-width: 768px) { .cart-modal { padding: 16px; } }
/* Phones: smaller photo, quantity and price under the text */
@media (max-width: 639px) {
  .cart-line { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .cart-line-image { width: 96px; height: 96px; }
  .cart-line-buy { width: 100%; justify-content: space-between; }
  .cart-line-price { width: auto; }
}

/* Building markers dialog */
/* Building markers after Lichtbild (measured 28.10.): fixed inset-0 bg-black/20 backdrop-blur-sm p-2 md:p-4; panel bg-gray-100
   rounded-2xl max-w-7xl p-4 gap-4; title text-lg bold, hint text-xs gray-500; map rounded-xl (square on phones); search
   top-3 right-3 w-64; bottom grid md:grid-cols-3 gap-2: colour card, white "Clear" p-2, black "Save" p-4. */
.markers-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 8px; border: 0; background: rgba(0, 0, 0, .2); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.markers-dialog[open] { display: flex; align-items: center; justify-content: center; }
.markers-dialog::backdrop { background: transparent; }
.markers-panel { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 1280px; max-height: 100%; overflow-y: auto; padding: 16px; border-radius: 16px; background: var(--gray-100); box-shadow: var(--shadow-lg); }
.markers-head h2 { font-size: 18px; line-height: 28px; font-weight: 700; }
.markers-sub { font-size: 12px; line-height: 16px; color: var(--gray-500); }
.markers-map-wrap { position: relative; width: 100%; overflow: hidden; border-radius: 12px; }
.markers-map { height: clamp(300px, calc(100dvh - 360px), 640px); border-radius: 12px; overflow: hidden; z-index: 0; }
.markers-search { position: absolute; top: 12px; right: 12px; z-index: 1000; width: 256px; }
.markers-search svg { position: absolute; left: 10px; top: 18px; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--gray-400); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.markers-search input { width: 100%; padding: 8px 32px; border: 1px solid var(--gray-300); border-radius: 8px; background: #fff; font: inherit; font-size: 14px; line-height: 20px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1); }
.markers-search input:focus { outline: none; border-color: transparent; box-shadow: 0 0 0 2px var(--blue); }
.markers-search-clear { position: absolute; right: 6px; top: 18px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; transform: translateY(-50%); cursor: pointer; }
.markers-search-clear svg { position: static; width: 14px; height: 14px; transform: none; stroke: var(--gray-400); }
.markers-panel:focus { outline: none; }
.markers-results { margin: 4px 0 0; padding: 4px; list-style: none; border-radius: 8px; background: #fff; box-shadow: var(--shadow-lg); max-height: 240px; overflow-y: auto; }
.markers-results button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 6px; background: none; font-size: 14px; line-height: 20px; text-align: left; cursor: pointer; }
.markers-results button:hover, .markers-results button:focus-visible { background: var(--gray-100); outline: none; }
/* Lichtbild dims the whole map (search included) while the buildings load */
.markers-loading { position: absolute; left: 0; right: 0; top: 50%; z-index: 1001; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .35); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; transform: translateY(-50%); background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; line-height: 16px; text-align: center; }
.markers-loading-title { margin-top: 4px; font-size: 14px; line-height: 20px; font-weight: 700; }
.markers-spinner { width: 28px; height: 28px; border: 3px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: markers-spin .8s linear infinite; }
@keyframes markers-spin { to { transform: rotate(360deg); } }
.markers-notice { position: absolute; left: 12px; right: 12px; bottom: 28px; z-index: 999; padding: 8px 12px; border-radius: 8px; background: #fff; font-size: 12px; line-height: 16px; color: var(--red-500); text-align: center; }
.markers-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; width: 100%; }
.markers-colors { display: flex; flex-direction: column; gap: 8px; height: fit-content; padding: 8px; border: 2px solid transparent; border-radius: 16px; background: #fff; background-clip: padding-box; }
.markers-colors p { font-size: 12px; line-height: 16px; font-weight: 600; }
.markers-swatches { display: flex; gap: 8px; }
.markers-swatches button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; outline: 1px solid var(--gray-400); cursor: pointer; transition: all .2s; }
.markers-swatches button:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1); }
.markers-swatches button[aria-checked='true'] { outline: 2px solid var(--blue); transform: scale(1.05); }
.markers-swatches button[aria-disabled='true'] { opacity: .5; cursor: not-allowed; }
.markers-clear, .markers-save { height: 100%; border-radius: 12px; font-size: 14px; line-height: 20px; white-space: nowrap; cursor: pointer; transition: all .2s; }
.markers-clear { padding: 8px; border: 1px solid var(--gray-200); background: #fff; color: #000; }
.markers-clear:hover { background: var(--gray-200); }
.markers-save { padding: 16px; border: 1px solid #000; background: #000; color: #fff; }
.markers-save:hover { background: transparent; color: #000; }
@media (min-width: 768px) { .markers-dialog { padding: 16px; } }
@media (max-width: 767px) {
  /* Lichtbild on phones: the window reaches the screen edges from the top */
  .markers-dialog { padding: 0; }
  .markers-dialog[open] { align-items: flex-start; }
  .markers-panel { border-radius: 0; box-shadow: none; }
  .markers-map { height: auto; aspect-ratio: 1; }
  .markers-actions { grid-template-columns: 1fr; }
  .markers-search { width: auto; left: 56px; }
}


.mobile-break { display: none; }

.market-pill select { border: 0; background: none; color: inherit; font: inherit; text-transform: uppercase; cursor: pointer; }

.market-pill select option { color: #000; }

@media (max-width: 767px) {
  .mobile-break { display: inline; }
}
.price-mark { margin-left: 6px; font-size: 10px; font-weight: 600; vertical-align: middle; }

/* Finished preview (after Lichtbild): grid-cols-2 gap-2, tiles aspect-square rounded-xl bg-gray-300, white magnifier p-4 */
.preview-tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.preview-tile { position: relative; display: block; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: var(--gray-300); cursor: pointer; }
.tile-pulse { position: absolute; inset: 0; background: var(--gray-200); animation: tile-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
@keyframes tile-pulse { 50% { opacity: .5; } }
.preview-tile img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.tile-zoom { position: absolute; z-index: 2; top: 16px; right: 16px; width: 16px; height: 16px; fill: #fff; stroke: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); pointer-events: none; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 32px; border: 0; background: rgba(0, 0, 0, .8); overflow: hidden; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox-stage { flex: none; width: min(100%, 672px, 100dvh); aspect-ratio: 1; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.lightbox-stage.is-dragging { cursor: grabbing; }
.lightbox-stage img { display: block; width: 100%; height: auto; border-radius: 12px; pointer-events: none; }
.lightbox-close { position: absolute; bottom: 16px; left: 50%; z-index: 1; display: block; padding: 16px; border: 2px solid var(--blue); border-radius: 12px; background: var(--blue); color: #fff; font-size: 14px; line-height: 20px; font-weight: 700; white-space: nowrap; cursor: pointer; transform: translateX(-50%); transition: all .2s; }
.lightbox-close:hover { background: transparent; color: var(--blue); }
.lightbox-close svg { display: inline-block; width: 11px; height: 14px; margin-right: 4px; vertical-align: -2px; fill: currentColor; }

/* Homepage reviews (after lichtbild.com): links row text-sm; Google gray-600, Trustpilot bold emerald; footnote readable, card width */
.footnote-mark { margin-left: 2px; color: inherit; text-decoration: none; }
.reviews-footnote { max-width: 1152px; margin: 32px auto 0; padding: 0 16px; font-size: 12px; line-height: 16px; color: var(--gray-400); text-align: center; }

/* Configurator reviews (after lichtbild.com /citymodel "Over 40,000 places turned into models") */
.rv-section { padding: 80px 0 32px; background: var(--gray-100); }
.rv-inner { max-width: 1280px; margin: 0 auto; }
.rv-title { max-width: 672px; margin: 0 auto 24px; padding: 0 16px; font-size: 20px; line-height: 28px; font-weight: 700; text-align: center; color: var(--gray-900); text-wrap: balance; }
.rv-widget { max-width: 576px; margin: 0 auto 24px; padding: 20px; border: 1px solid var(--gray-200); border-radius: 16px; background: var(--gray-50); }
.rv-widget-row { display: flex; align-items: center; gap: 24px; }
.rv-score { width: 96px; flex: none; }
.rv-number { font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -.025em; color: var(--gray-900); }
.rv-number span { margin-left: 4px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--gray-500); }
.rv-stars { justify-content: flex-start; margin-top: 8px; }
.rv-total { margin-top: 8px; font-size: 12px; line-height: 1.375; color: var(--gray-500); }
.rv-bars { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.rv-bars li { display: flex; align-items: center; gap: 8px; }
.rv-bar-label { display: flex; align-items: center; gap: 2px; width: 24px; flex: none; font-size: 12px; line-height: 16px; color: var(--gray-600); }
.rv-bar-label svg { width: 10px; height: 10px; fill: var(--yellow-400); color: var(--yellow-400); stroke-width: 0; }
.rv-bar { flex: 1; height: 6px; overflow: hidden; border-radius: 999px; background: var(--gray-200); }
.rv-bar span { display: block; height: 100%; border-radius: 999px; background: var(--yellow-400); }
.rv-bar-count { width: 32px; flex: none; font-size: 12px; line-height: 16px; text-align: right; font-variant-numeric: tabular-nums; color: var(--gray-500); }
.rv-carousel { margin-bottom: 16px; }
.rv-track { display: flex; gap: 16px; padding: 0 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { display: flex; flex: none; flex-direction: column; gap: 8px; width: calc((100% - 2rem) / 3); margin: 0; padding: 16px; scroll-snap-align: start; border: 1px solid var(--gray-200); border-radius: 16px; background: #fff; transition: background-color .2s; }
.rv-card:hover { background: var(--blue-50); }
.rv-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rv-translated { font-size: 12px; line-height: 16px; font-style: italic; text-align: right; color: var(--gray-400); }
.rv-card blockquote { margin: 0; font-size: 12px; line-height: 1.625; color: var(--gray-600); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; }
.rv-card figcaption span:first-child { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--gray-900); }
.rv-dots { display: flex; justify-content: center; gap: 4px; margin-top: 16px; }
.rv-dots button { display: flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 4px; border: 0; border-radius: 999px; background: none; }
.rv-dots button span { position: relative; display: block; width: 6px; height: 6px; overflow: hidden; border-radius: 999px; background: var(--gray-300); transition: width .2s; }
.rv-dots button[aria-current='true'] span { width: 24px; }
.rv-dots button[aria-current='true'] span::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--gray-900); transform-origin: left; animation: rv-dot-fill var(--rv-interval, 4500ms) linear forwards; }
.rv-carousel.is-paused .rv-dots button[aria-current='true'] span::after { animation-play-state: paused; }
@keyframes rv-dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .rv-dots button[aria-current='true'] span::after { animation: none; } }
.rv-footnote { margin: 0 auto 48px; }
@media (max-width: 1023px) { .rv-card { width: calc((100% - 1rem) / 2); } }
@media (max-width: 767px) {
  .rv-section { padding: 48px 0 16px; }
  .rv-title { margin-bottom: 16px; font-size: 18px; }
  .rv-widget { max-width: none; margin-bottom: 16px; padding: 16px; border-width: 1px 0; border-radius: 0; }
  .rv-widget-row { gap: 16px; }
  .rv-track { gap: 12px; }
  .rv-card { width: 80%; }
  .rv-footnote { margin-bottom: 32px; }
}
.rv-total { white-space: nowrap; }
/* Protection notice as in Lichtbild's footer: max-w-lg px-8 pb-4 text-xs leading-relaxed gray-400/80, AI notice 8 px */
.legal-notice { max-width: 512px; margin: 0 auto; padding: 0 0 16px; font-size: 12px; line-height: 1.625; text-align: left; color: rgba(156, 163, 175, .8); }
.legal-notice span { display: block; margin-top: 8px; font-size: 8px; line-height: 1.375; }
@media (max-width: 767px) { .legal-notice { padding: 0 32px 16px; } }
/* Preview progress in the summary card (lichtbild.com): rounded-xl bg-gray-300 p-4 py-8, text-xs neutral-600, step text-sm neutral-500 h-12, bar h-2.5 */
.preview-loader { overflow: hidden; padding: 32px 16px; border-radius: 12px; background: var(--gray-300); }
.preview-loader-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding-left: 16px; }
.preview-loader-text { align-self: stretch; font-size: 12px; line-height: 16px; text-align: left; color: var(--neutral-600); }
.preview-loader-step { display: flex; align-items: center; gap: 8px; height: 48px; font-size: 14px; line-height: 20px; text-align: center; color: var(--neutral-500); }
.loader-icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.preview-loader-bar { width: 100%; height: 10px; overflow: hidden; border-radius: 999px; background: var(--gray-200); }
.preview-loader-bar div { width: 0; height: 100%; border-radius: 999px; background: var(--blue-500); transition: width .4s ease; }

/* Marketing cookie choice (modules/app.js mountPrivacy): a slim card at the bottom; Decline and Accept look and weigh the same. */
.privacy-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 24px; max-width: 960px; margin: 0 auto; padding: 16px 20px; border: 1px solid var(--gray-200); border-radius: 16px; background: #fff; color: var(--gray-900); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 20px; }
.privacy-banner[hidden] { display: none; }
.privacy-banner p { margin: 0; color: var(--gray-600); }
.privacy-banner a { color: var(--blue-500); }
.privacy-actions { display: flex; flex: none; gap: 8px; }
.privacy-button { min-width: 112px; padding: 10px 16px; border: 1px solid var(--gray-900); border-radius: 12px; background: #fff; color: var(--gray-900); font-size: 14px; line-height: 20px; font-weight: 600; transition: all .2s; }
.privacy-button:hover { background: var(--gray-900); color: #fff; }
.footer-link-button { padding: 0; border: 0; background: none; color: var(--gray-300); font: inherit; text-align: left; cursor: pointer; }
.footer-link-button:hover { color: #fff; }
@media (max-width: 639px) {
  .privacy-banner { left: 8px; right: 8px; bottom: 8px; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .privacy-actions > * { flex: 1; }
}
