/* DSGVO-konforme Schriftarten via Bunny Fonts (GDPR-freundlicher Google-Fonts-Ersatz, EU-Server, keine IP-Speicherung) */
@import url('https://fonts.bunny.net/css?family=cormorant-garamond:400,400i,500,500i,600&family=source-serif-4:300,400,500,600&display=swap');

:root {
  --navy: #0B1F3F; --navy-deep: #060F22; --navy-soft: #1a2f54;
  --gold: #B8945F; --gold-light: #D4B98A; --gold-deep: #8B6E3F;
  --cream: #F8F5EF; --paper: #FDFBF7;
  --ink: #1a1a1a; --ink-soft: #3a3a3a;
  --line: rgba(184, 148, 95, 0.25);
  --line-strong: rgba(184, 148, 95, 0.6);
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body: 'Source Serif 4', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; }
body { font-family: var(--body); font-weight: 400; line-height: 1.7; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
/* Header-Blur während Modals: auf iOS oft Compositing-Konflikte mit darüberliegenden fixed-Overlays */
body.modal-open .site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.15; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
/* Shop-Unterseite: Seitentitel wie frühere H2 im Katalog-Block */
h1.shop-page-title { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); margin-bottom: 1rem; }
em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
p { margin-bottom: 1.25rem; color: var(--ink-soft); }
a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-deep); }

/* === ACCESSIBILITY === */
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 9999; background: var(--navy); color: var(--cream); padding: 0.75rem 1.25rem; font-family: var(--body); font-size: 0.9rem; text-decoration: none; border: 1px solid var(--gold); transition: top 0.2s; }
.skip-link:focus { top: 1rem; color: var(--cream); outline: 2px solid var(--gold); outline-offset: 2px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Button als Link gestylt (für Modal-Trigger im Footer / in Texten) */
.link-button { background: transparent; border: none; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.link-button:hover { color: var(--gold-light); opacity: 1; }
.link-inline { color: var(--gold-deep); border-bottom: 1px solid var(--line); display: inline; }
.link-inline:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

.eyebrow { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); display: inline-block; margin-bottom: 1.5rem; }
.eyebrow-num { font-family: var(--display); font-style: italic; color: var(--gold); margin-right: 0.5rem; }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--ink); max-width: 65ch; font-weight: 400; }

/* === HEADER === */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 2rem; max-width: 1280px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 1rem; cursor: pointer; }
.logo-mark { width: 48px; height: 48px; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 1.35rem; font-weight: 500; color: var(--navy); position: relative; }
.logo-mark::before { content: ''; position: absolute; inset: 3px; border: 0.5px solid var(--line); }
.logo-name { font-family: var(--display); font-size: 1.1rem; font-weight: 500; color: var(--navy); display: block; line-height: 1.1; }
.logo-tag { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: 0.9rem; color: var(--navy); position: relative; padding: 0.25rem 0; cursor: pointer; }
.nav a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.nav a:hover::after { transform: scaleX(1); }

/* Büro-Bestand-Seite: aktiver Katalog-Link kursiv unterstrichen */
.page-buero-bestand .nav a.nav-link-shop {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gold-deep);
  color: var(--navy);
}
.page-buero-bestand .nav a.nav-link-shop:hover {
  color: var(--gold-deep);
  text-decoration-color: var(--navy);
}
.page-buero-bestand .nav a.nav-link-shop::after {
  display: none;
}
.cart-btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.95rem; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-family: var(--body); font-size: 0.88rem; color: var(--navy); transition: all 0.2s; }
.cart-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.cart-btn-icon { font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--gold-deep); }
.cart-badge { display: none; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; background: var(--gold); color: var(--navy); font-family: var(--display); font-style: italic; font-weight: 500; font-size: 0.85rem; margin-left: 0.2rem; }
.cart-badge.show { display: inline-flex; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--navy); transition: 0.3s; }

/* === HERO === */
.hero { padding: 7rem 0 5rem; background: var(--paper); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(135deg, transparent 49.5%, var(--line) 49.5%, var(--line) 50.5%, transparent 50.5%); opacity: 0.4; }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 1.5rem; }
.hero-visual { aspect-ratio: 3/4; background: var(--navy); position: relative; }
.hero-visual-inner { position: absolute; inset: 2rem; border: 1px solid var(--gold); display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; color: var(--cream); }
.hero-monogram { font-family: var(--display); font-size: 6rem; color: var(--gold); line-height: 1; letter-spacing: -0.04em; }
.hero-quote { font-family: var(--display); font-style: italic; font-size: 1.1rem; opacity: 0.9; border-top: 1px solid var(--gold); padding-top: 1.5rem; max-width: 280px; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem; font-family: var(--body); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.05em; border: 1px solid var(--navy); background: var(--navy); color: var(--cream); cursor: pointer; transition: all 0.3s; text-decoration: none; }
.btn::after { content: '→'; transition: transform 0.3s; }
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--cream); }
.btn:hover::after { transform: translateX(4px); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--cream); }
.btn-no-arrow::after { content: none; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* === SECTIONS === */
.section-header { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 4rem; align-items: end; }
.section-header-meta { border-top: 1px solid var(--gold); padding-top: 1.5rem; }
.bg-cream { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-navy { background: var(--navy); color: var(--cream); }
.bg-navy h2, .bg-navy h3 { color: var(--cream); }
.bg-navy p { color: var(--cream); opacity: 0.85; }
.bg-navy .eyebrow { color: var(--gold-light); }

/* === FEATURES === */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3rem; }
.feature { padding: 2.5rem 2rem; border-left: 1px solid var(--line); }
.feature:first-child { border-left: none; padding-left: 0; }
.feature:last-child { padding-right: 0; }
.feature-num { font-family: var(--display); font-style: italic; font-size: 2.25rem; color: var(--gold); line-height: 1; margin-bottom: 1.5rem; display: block; }
.feature h3 { font-size: 1.5rem; margin-bottom: 1rem; }

/* === CASE INFO === */
.case-info { background: var(--cream); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 2rem 2.5rem; margin-bottom: 3rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; align-items: center; }
.case-info-main { display: flex; flex-direction: column; gap: 0.25rem; }
.case-info-az { font-family: var(--display); font-size: 1.2rem; color: var(--navy); font-weight: 500; }
.case-info-court { font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }
.case-info-item { display: flex; flex-direction: column; gap: 0.25rem; border-left: 1px solid var(--line); padding-left: 1.5rem; }
.case-info-label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.case-info-value { font-family: var(--display); font-size: 1.1rem; color: var(--navy); font-weight: 500; }

/* === B2B NOTICE === */
.b2b-notice { display: flex; align-items: center; gap: 1.25rem; padding: 1rem 1.5rem; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--navy); margin-bottom: 2rem; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; }
.b2b-notice strong { color: var(--navy); font-weight: 500; }
.b2b-notice-icon { font-family: var(--display); font-style: italic; font-size: 1.8rem; color: var(--gold-deep); line-height: 1; flex-shrink: 0; }

/* === ABOUT (Portrait + Bio) === */
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 3rem; } }
.about-portrait { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--navy); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(15%) contrast(1.02); }
.about-portrait-frame { position: absolute; inset: 1.25rem; border: 1px solid var(--gold); pointer-events: none; mix-blend-mode: difference; opacity: 0.6; }
.signature-block { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.signature-name { font-family: var(--display); font-size: 1.4rem; font-weight: 500; color: var(--navy); font-style: italic; }
.signature-role { font-size: 0.82rem; color: var(--gold-deep); letter-spacing: 0.08em; margin-top: 0.25rem; }

/* === CATALOG === */
.toolbar { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 1rem 1.5rem; }
.toolbar-count { font-family: var(--display); font-size: 1.1rem; color: var(--navy); flex-shrink: 0; }
.toolbar-count strong { color: var(--gold-deep); font-weight: 500; font-style: italic; margin-right: 0.25rem; }
.catalog-search-wrap { flex: 1 1 260px; min-width: 0; max-width: min(100%, 440px); }
.catalog-search-label { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.35rem; font-weight: 500; }
.catalog-search-input {
  width: 100%;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.catalog-search-input::placeholder { color: var(--ink-soft); opacity: 0.75; }
.catalog-search-input:hover { border-color: var(--gold); }
.catalog-search-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 2px rgba(11, 31, 63, 0.12); }
.catalog-search-hint { margin: 0.45rem 0 0; font-size: 0.72rem; line-height: 1.4; color: var(--ink-soft); font-style: italic; max-width: 42ch; }
.catalog-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1.5rem; border: 1px dashed var(--line-strong); background: var(--cream); }
.catalog-empty p { margin: 0 0 0.75rem; font-family: var(--display); font-size: 1.2rem; color: var(--navy); }
.catalog-empty span { font-size: 0.9rem; color: var(--ink-soft); }
.toolbar-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1rem 1.5rem; flex: 1 1 320px; min-width: 0; }
.tabs { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.catalog-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; }
.catalog-sort-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-right: 0.35rem; }
.sort-btn {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.45rem 0.85rem;
  font-family: var(--body);
  font-size: 0.78rem;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.sort-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.sort-btn.active { background: var(--cream); border-color: var(--gold-deep); color: var(--navy); font-weight: 500; }
.tab { background: transparent; border: 1px solid var(--line); padding: 0.55rem 1.25rem; font-family: var(--body); font-size: 0.85rem; color: var(--navy); cursor: pointer; transition: all 0.2s; }
.tab:hover { border-color: var(--gold); color: var(--gold-deep); }
.tab.active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 720px) { .catalog-grid { grid-template-columns: 1fr; } }

.product { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color 0.3s; }
.product-head { display: grid; grid-template-columns: 140px 1fr; gap: 1.25rem; padding: 1.25rem; cursor: pointer; }
.product-head:hover { background: rgba(248, 245, 239, 0.5); }
.product-img { aspect-ratio: 1; background: linear-gradient(135deg, var(--navy), var(--navy-soft)); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img:not(.product-img--photo)::before { content: ''; position: absolute; inset: 0.6rem; border: 1px solid var(--gold); opacity: 0.4; }
.product-img--photo::before { display: none; }
.product-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.product-mono { font-family: var(--display); font-style: italic; font-size: 2rem; color: var(--gold); position: relative; z-index: 1; }
.product-img--photo .product-mono { display: none; }
.product-tag { position: absolute; top: 6px; left: 6px; z-index: 2; background: rgba(248, 245, 239, 0.95); color: var(--navy); padding: 2px 8px; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.product-info { display: flex; flex-direction: column; min-width: 0; }
.product-cat { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.4rem; }
.product-title { font-family: var(--display); font-size: 1.2rem; font-weight: 500; color: var(--navy); line-height: 1.2; margin-bottom: 0.4rem; }
.product-spec { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 0.85rem; }
.product-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 0.6rem; border-top: 1px dotted var(--line); }
.product-meta { font-family: var(--display); color: var(--navy); font-weight: 500; font-size: 0.95rem; }
.product-meta-from { color: var(--gold-deep); font-style: italic; }
.product-toggle { color: var(--gold-deep); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Produkt-Popup (Galerie + Details) */
.modal-product-layer { z-index: 10000; }
.modal-product-sheet { max-width: 1040px; padding: 2.5rem 2rem 3rem; }
.product-modal-head { margin-bottom: 1.75rem; padding-right: 2rem; border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; }
.product-modal-head .eyebrow { margin-bottom: 0.75rem; }
.product-modal-title { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 500; color: var(--navy); line-height: 1.2; margin: 0 0 0.5rem; }
.product-modal-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem 2.5rem; align-items: start; }
.product-modal-gallery { display: flex; flex-direction: column; gap: 1rem; }
.product-modal-main { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 1px solid var(--line); cursor: zoom-in; background: var(--navy-deep); line-height: 0; }
.product-modal-main:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.product-modal-main img { width: 100%; height: auto; max-height: min(52vh, 420px); object-fit: contain; display: block; vertical-align: middle; }
.product-modal-zoom-hint { position: absolute; bottom: 0.65rem; right: 0.65rem; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); background: rgba(11, 31, 63, 0.75); padding: 0.35rem 0.65rem; pointer-events: none; }
.product-modal-thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-modal-thumb { padding: 0; border: 2px solid var(--line); background: var(--navy-deep); cursor: pointer; width: 72px; height: 72px; flex-shrink: 0; transition: border-color 0.2s, box-shadow 0.2s; overflow: hidden; }
.product-modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.88; }
.product-modal-thumb:hover, .product-modal-thumb:focus-visible { border-color: var(--gold); outline: none; }
.product-modal-thumb.active { border-color: var(--navy); box-shadow: 0 0 0 1px var(--gold); }
.product-modal-thumb.active img { opacity: 1; }
.product-modal-detail { min-width: 0; }
.product-modal-detail .specs { padding-top: 0; }
@media (max-width: 820px) {
  .product-modal-layout { grid-template-columns: 1fr; }
  .product-modal-main img { max-height: 45vh; }
}

/* Bild-Lightbox */
.modal-lightbox-layer { z-index: 10050; padding: 1rem; align-items: center; justify-content: center; background: #060f22; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lightbox-frame { position: relative; max-width: min(96vw, 1400px); max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.lightbox-img { max-width: 100%; max-height: calc(90vh - 4rem); width: auto; height: auto; object-fit: contain; border: 1px solid var(--line); box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35); cursor: default; }
.lightbox-caption { margin: 0; text-align: center; font-size: 0.88rem; color: var(--cream); opacity: 0.9; max-width: 56ch; line-height: 1.45; }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; z-index: 10060; width: 48px; height: 48px; border: 1px solid rgba(212, 185, 138, 0.4); background: rgba(11, 31, 63, 0.85); color: var(--cream); font-size: 1.75rem; line-height: 1; cursor: pointer; transition: background 0.2s, color 0.2s; }
.lightbox-close:hover { background: var(--gold-deep); color: var(--cream); }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 10060; width: 48px; height: 72px; border: 1px solid rgba(212, 185, 138, 0.35); background: rgba(11, 31, 63, 0.75); color: var(--cream); font-family: var(--display); font-size: 2rem; line-height: 1; cursor: pointer; transition: background 0.2s, opacity 0.2s; padding-bottom: 4px; }
.lightbox-nav:hover:not(:disabled) { background: rgba(184, 148, 95, 0.35); }
.lightbox-nav:disabled { opacity: 0.25; cursor: not-allowed; }
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
@media (max-width: 520px) {
  .lightbox-nav { width: 40px; height: 56px; font-size: 1.5rem; }
  .lightbox-prev { left: 0.35rem; }
  .lightbox-next { right: 0.35rem; }
}
.specs { padding: 1rem 0; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.specs-row { display: flex; gap: 1rem; padding: 0.3rem 0; font-size: 0.85rem; }
.specs-label { color: var(--gold-deep); min-width: 140px; font-style: italic; }
.specs-value { color: var(--ink); flex: 1; }

.variants { width: 100%; border-collapse: collapse; }
.variants th { text-align: left; padding: 0.5rem 0.4rem; border-bottom: 1px solid var(--line); font-family: var(--body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.variants td { padding: 0.65rem 0.4rem; border-bottom: 1px dotted var(--line); }
.variants tr:last-child td { border-bottom: none; }
.variants tr.in-cart { background: var(--cream); }
.v-size { font-family: var(--display); font-size: 1rem; color: var(--navy); font-weight: 500; }
.v-color { font-size: 0.85rem; color: var(--ink-soft); }
.v-price { font-family: var(--display); font-size: 1.05rem; color: var(--navy); font-weight: 500; }
.v-stock { font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }
.v-btn { background: var(--navy); border: 1px solid var(--navy); padding: 0.45rem 0.95rem; font-family: var(--body); font-size: 0.72rem; color: var(--cream); cursor: pointer; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.2s; white-space: nowrap; }
.v-btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.v-add-cell { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.65rem; justify-content: flex-end; }
.v-qty-pre {
  width: 3.25rem;
  min-width: 3rem;
  height: 32px;
  padding: 0 0.35rem;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  -moz-appearance: textfield;
}
.v-qty-pre::-webkit-outer-spin-button, .v-qty-pre::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.v-qty-pre:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* === QTY CONTROL === */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper); }
.qty button { width: 28px; height: 28px; background: transparent; border: none; font-family: var(--display); font-size: 1.1rem; color: var(--navy); cursor: pointer; transition: background 0.15s; }
.qty button:hover { background: var(--cream); color: var(--gold-deep); }
.qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.qty input { width: 42px; height: 28px; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: transparent; text-align: center; font-family: var(--display); font-size: 0.95rem; font-weight: 500; color: var(--navy); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* === MODAL ===
   Kein backdrop-filter auf dem Overlay: iOS/WebKit macht scrollende/fixed Layer + Blur halbtransparent.
   Scroll nur innerhalb .modal-content (max-height), nicht auf dem Fullscreen-Wrapper. */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(6, 15, 34, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 4rem) 1rem;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
.modal.show { display: flex; }
.modal-content {
  background: #fdfbf7;
  max-width: 1100px;
  width: 100%;
  max-height: calc(100vh - 1.25rem);
  max-height: calc(100dvh - 1.25rem);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 3rem 2.5rem;
  position: relative;
  z-index: 1;
  border-top: 3px solid var(--gold);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.28);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.modal-narrow { max-width: 720px; }
.modal-close { position: absolute; top: 1rem; right: 1.25rem; background: transparent; border: none; font-size: 1.75rem; color: var(--ink-soft); cursor: pointer; line-height: 1; transition: color 0.2s; }
.modal-close:hover { color: var(--gold-deep); }
.modal-head { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }

/* === CART (in modal) === */
.cart-empty { text-align: center; padding: 3rem 1.5rem; }
.cart-empty-icon { font-family: var(--display); font-style: italic; font-size: 4rem; color: var(--gold); margin-bottom: 1rem; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 1rem 0.75rem; border-bottom: 1px solid var(--line); font-family: var(--body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.cart-table td { padding: 1.25rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item-img { width: 60px; height: 60px; background: linear-gradient(135deg, var(--navy), var(--navy-soft)); position: relative; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--gold); flex-shrink: 0; overflow: hidden; }
.cart-item-img:not(.cart-item-img--photo)::before { content: ''; position: absolute; inset: 4px; border: 1px solid var(--gold); opacity: 0.4; }
.cart-item-img--photo { padding: 0; }
.cart-item-img--photo::before { display: none; }
.cart-item-img--photo img { width: 100%; height: 100%; object-fit: cover; display: block; vertical-align: middle; }
.cart-item-cat { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.25rem; }
.cart-item-title { font-family: var(--display); font-size: 1.05rem; font-weight: 500; color: var(--navy); line-height: 1.2; margin-bottom: 0.2rem; }
.cart-item-variant { font-size: 0.8rem; color: var(--ink-soft); font-style: italic; }
.cart-price, .cart-subtotal { font-family: var(--display); color: var(--navy); font-weight: 500; }
.cart-price { font-size: 1rem; }
.cart-subtotal { font-size: 1.1rem; }
.cart-remove { background: transparent; border: none; color: var(--ink-soft); cursor: pointer; font-size: 1.4rem; padding: 0.25rem 0.5rem; }
.cart-remove:hover { color: var(--gold-deep); }
.cart-summary { margin-top: 1.5rem; padding: 1.5rem 2rem; background: var(--cream); border-left: 3px solid var(--gold); }
.cart-summary-row { display: flex; justify-content: space-between; padding: 0.4rem 0; }
.cart-summary-row.total { padding-top: 1rem; margin-top: 0.5rem; border-top: 1px solid var(--line); font-family: var(--display); }
.cart-summary-row.total span:first-child { font-size: 1.15rem; color: var(--navy); font-weight: 500; }
.cart-summary-row.total span:last-child { font-size: 1.5rem; color: var(--gold-deep); font-weight: 500; }
.cart-note { margin-top: 1rem; padding: 1rem 1.25rem; background: var(--paper); border: 1px dashed var(--line-strong); font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }
.cart-actions { display: flex; justify-content: space-between; margin-top: 1.5rem; gap: 1rem; flex-wrap: wrap; }

/* === ANFRAGE FORM === */
.anfrage-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .anfrage-layout { grid-template-columns: 1fr; } }
.form-section { margin-bottom: 2.25rem; padding-bottom: 2.25rem; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: none; }
.form-section-head { display: flex; align-items: baseline; gap: 0.85rem; margin-bottom: 0.5rem; }
.form-section-num { font-family: var(--display); font-style: italic; font-size: 1.4rem; color: var(--gold); }
.form-section h3 { font-size: 1.3rem; margin: 0; }
.form-section-meta { font-size: 0.85rem; color: var(--ink-soft); font-style: italic; margin-bottom: 1.25rem; }

.form-row, .form-row-2-1, .form-row-3 { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-row { grid-template-columns: 1fr 1fr; }
.form-row-2-1 { grid-template-columns: 2fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 720px) { .form-row, .form-row-2-1, .form-row-3 { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; }
.form-field-full { margin-bottom: 1.25rem; }
.form-field label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.4rem; }
.form-field input, .form-field textarea, .form-field select { background: var(--paper); border: none; border-bottom: 1px solid var(--line-strong); padding: 0.65rem 0; font-family: var(--body); font-size: 1rem; color: var(--navy); transition: border-color 0.2s; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-bottom-color: var(--gold); }
.form-field textarea { min-height: 110px; resize: vertical; }
.required { color: var(--gold-deep); margin-left: 0.2rem; }
.radio-group { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.radio-group label { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.radio-group input { margin-top: 0.3rem; }
.radio-group strong { font-family: var(--display); font-weight: 500; color: var(--navy); }
.radio-group .radio-meta { font-size: 0.82rem; color: var(--ink-soft); }
.form-consent { display: flex; align-items: flex-start; gap: 0.75rem; margin: 1.25rem 0; font-size: 0.88rem; color: var(--ink-soft); }
.form-consent input { margin-top: 0.3rem; }

/* === ORDER SUMMARY === */
.order-summary { position: sticky; top: 6rem; background: var(--cream); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 1.75rem; }
.order-summary h3 { font-size: 1.25rem; margin-bottom: 1.25rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); }
.order-line { display: grid; grid-template-columns: 1fr auto; gap: 0.85rem; padding: 0.75rem 0; border-bottom: 1px dotted var(--line); }
.order-line:last-of-type { border-bottom: none; }
.order-title { font-family: var(--display); font-size: 0.95rem; color: var(--navy); font-weight: 500; line-height: 1.3; }
.order-meta { font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.15rem; font-style: italic; }
.order-qty { font-size: 0.75rem; color: var(--gold-deep); margin-top: 0.15rem; }
.order-price { font-family: var(--display); font-size: 0.95rem; color: var(--navy); font-weight: 500; text-align: right; white-space: nowrap; }
.order-totals { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.order-totals-row { display: flex; justify-content: space-between; padding: 0.3rem 0; font-size: 0.88rem; }
.order-totals-row.grand { margin-top: 0.4rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-family: var(--display); }
.order-totals-row.grand span:first-child { font-size: 1.05rem; color: var(--navy); font-weight: 500; }
.order-totals-row.grand span:last-child { font-size: 1.35rem; color: var(--gold-deep); font-weight: 500; }

/* === SUCCESS === */
.success { text-align: center; padding: 3rem 1.5rem; background: var(--cream); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.success-icon { font-family: var(--display); font-style: italic; font-size: 5rem; color: var(--gold); margin-bottom: 1rem; }
.success-ref { display: inline-block; margin-top: 1.5rem; padding: 0.75rem 1.5rem; background: var(--paper); border: 1px solid var(--line); font-family: var(--display); font-size: 1.2rem; color: var(--navy); letter-spacing: 0.05em; }

/* === FOOTER === */
.site-footer { background: var(--navy-deep); color: var(--cream); padding: 4rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(184, 148, 95, 0.2); }
.footer-brand p { color: var(--cream); opacity: 0.7; font-size: 0.92rem; margin-top: 1.5rem; max-width: 320px; }
.footer-col h4 { color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; font-family: var(--body); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a, .footer-col li { color: var(--cream); opacity: 0.7; font-size: 0.92rem; cursor: pointer; }
.footer-col a:hover { opacity: 1; color: var(--gold-light); }
.footer-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--cream); opacity: 0.6; }

.prose h2 { margin-top: 2.5rem; font-size: 1.8rem; }
.prose h3 { margin-top: 1.75rem; font-size: 1.3rem; }
.prose p, .prose li { font-size: 0.98rem; color: var(--ink-soft); }
.prose ul { margin: 1rem 0 1rem 1.5rem; }
.prose li { margin-bottom: 0.5rem; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .section-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-left: none; border-bottom: 1px solid var(--line); padding: 2rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  html { font-size: 16px; }
  .header-inner { padding: 0.75rem 1.25rem; }
  .logo-name, .logo-tag { display: none; }
  .logo-mark { width: 42px; height: 42px; font-size: 1.2rem; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 1.5rem; gap: 0.5rem; border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0; min-height: 44px; display: flex; align-items: center; border-bottom: 1px dotted var(--line); }
  .nav-toggle { display: flex; }
  section { padding: 4rem 0; }
  .hero { padding: 4rem 0 3rem; }
  .hero-visual { aspect-ratio: 16/10; max-height: 320px; }
  .hero-visual-inner { inset: 1rem; padding: 1.25rem; }
  .hero-monogram { font-size: 4rem; }
  .hero-quote { font-size: 0.95rem; padding-top: 1rem; }
  .case-info { grid-template-columns: 1fr 1fr; padding: 1.5rem; gap: 1.25rem; }
  .case-info-main { grid-column: span 2; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .case-info-item { border-left: none; padding-left: 0; }
  .modal { padding: 1rem; }
  .modal-content { padding: 2rem 1.25rem; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .cart-table td { padding: 0.4rem 0; border: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .product-head { grid-template-columns: 100px 1fr; gap: 0.85rem; padding: 0.85rem; }
  .product-foot { flex-wrap: wrap; gap: 0.4rem; }

  /* iOS-Zoom auf Inputs unterdrücken (min. 16px) */
  .form-field input, .form-field textarea, .form-field select,
  .qty input,
  .catalog-search-input { font-size: 16px; }

  /* Touch-Targets ≥ 44 × 44 px (WCAG 2.5.5) */
  .qty button { width: 38px; height: 38px; }
  .qty input { width: 52px; height: 38px; }
  .tab { padding: 0.65rem 1rem; min-height: 44px; }
  .cart-remove { padding: 0.65rem 0.85rem; font-size: 1.5rem; }
  .v-btn { padding: 0.7rem 1rem; font-size: 0.75rem; }
  .modal-close { font-size: 2rem; padding: 0.25rem 0.65rem; }
  .footer-col a, .footer-col .link-button { min-height: 32px; display: inline-flex; align-items: center; }

  /* Katalog-Toolbar: kompakte Karte, Suche + Tabs/Sortierung bleiben in der Viewport-Breite */
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.1rem 1rem 1.2rem;
    margin-bottom: 1.75rem;
    background: linear-gradient(165deg, var(--cream) 0%, var(--paper) 55%);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 1px 0 rgba(11, 31, 63, 0.04);
  }
  .toolbar-count {
    order: -1;
    padding-bottom: 0.65rem;
    margin: 0 0 0.15rem;
    border-bottom: 1px dotted var(--line);
    font-size: 1rem;
  }
  .catalog-search-wrap {
    order: 0;
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    min-width: 0;
  }
  .catalog-search-input {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    box-shadow: inset 0 1px 2px rgba(11, 31, 63, 0.05);
  }
  .catalog-search-hint {
    max-width: none;
    margin-top: 0.5rem;
    line-height: 1.45;
    font-size: 0.7rem;
  }
  .toolbar-filters {
    order: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.4rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scroll-padding-inline: 0.4rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .tabs::-webkit-scrollbar {
    height: 5px;
  }
  .tabs::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 99px;
  }
  .tab {
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 6px;
    padding: 0.55rem 0.85rem;
    min-height: 44px;
  }
  .catalog-sort {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: stretch;
  }
  .catalog-sort-label {
    grid-column: 1 / -1;
    margin-right: 0;
    margin-bottom: 0.15rem;
  }
  .catalog-sort .sort-btn {
    min-height: 44px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
    padding: 0.5rem 0.5rem;
    font-size: 0.72rem;
    border-radius: 6px;
  }
  .catalog-sort .sort-btn:nth-child(4) {
    grid-column: 1 / -1;
  }

  /* Büro-Bestand: kein seitliches „Mitwandern“ der Seite, lange Texte umbrechen */
  html:has(body.page-buero-bestand) {
    overflow-x: hidden;
  }
  body.page-buero-bestand {
    overflow-x: hidden;
  }
  body.page-buero-bestand #main {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }
  body.page-buero-bestand .header-inner {
    min-width: 0;
    max-width: 100%;
  }
  body.page-buero-bestand .logo {
    min-width: 0;
  }
  body.page-buero-bestand .product,
  body.page-buero-bestand .product-head {
    min-width: 0;
    max-width: 100%;
  }
  body.page-buero-bestand .product-title,
  body.page-buero-bestand .product-spec,
  body.page-buero-bestand .product-meta,
  body.page-buero-bestand .case-info-az,
  body.page-buero-bestand .case-info-value {
    overflow-wrap: anywhere;
  }
  body.page-buero-bestand .specs-row {
    min-width: 0;
  }
  body.page-buero-bestand .specs-label {
    min-width: 0;
    flex: 0 1 40%;
  }
  body.page-buero-bestand .specs-value {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
  }
  body.page-buero-bestand .order-summary {
    position: static;
    top: auto;
  }
  body.page-buero-bestand .order-price {
    white-space: normal;
  }
  body.page-buero-bestand .order-title {
    overflow-wrap: anywhere;
    min-width: 0;
  }
  body.page-buero-bestand .modal-product-sheet {
    padding: 1.75rem 1.15rem 2rem;
  }
  body.page-buero-bestand .product-modal-title,
  body.page-buero-bestand .product-modal-head .lead {
    overflow-wrap: anywhere;
  }
  body.page-buero-bestand .b2b-notice,
  body.page-buero-bestand .section-header .lead {
    overflow-wrap: anywhere;
  }
  body.page-buero-bestand .cart-summary-row {
    min-width: 0;
    gap: 0.75rem;
  }
  body.page-buero-bestand .cart-summary-row span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* Varianten im Produkt-Modal: Karten statt breiter Tabelle */
  .variants { border: none; }
  .variants thead { display: none; }
  .variants tbody { display: block; }
  .variants tr {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    column-gap: 0.75rem;
    row-gap: 0.35rem;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--cream);
  }
  .variants tr.in-cart {
    background: var(--paper);
    box-shadow: inset 0 0 0 2px var(--gold);
  }
  .variants td {
    display: block;
    padding: 0 !important;
    border: none !important;
  }
  .variants td.v-size {
    grid-column: 1 / -1;
    padding-bottom: 0.35rem !important;
    margin-bottom: 0.2rem;
    border-bottom: 1px dotted var(--line) !important;
  }
  .variants td.v-stock {
    grid-column: 1 / -1;
  }
  .variants td:last-child {
    grid-column: 1 / -1;
    margin-top: 0.35rem;
    padding-top: 0.65rem !important;
    border-top: 1px solid var(--line) !important;
  }
  .variants tr:last-child {
    margin-bottom: 0;
  }
  .v-add-cell {
    justify-content: flex-start;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .v-qty-pre {
    width: 100%;
    max-width: none;
    height: 40px;
  }
  .v-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
  }
  .variants td:last-child .qty {
    justify-self: start;
  }
}

/* === MOBILE SMALL — Telefone < 480 px (z. B. iPhone SE) === */
@media (max-width: 480px) {
  html { font-size: 15px; }
  section { padding: 3rem 0; }
  .container { padding: 0 1.25rem; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.75rem; }
  .lead { font-size: 1.05rem; }
  .btn { padding: 0.85rem 1.5rem; font-size: 0.85rem; width: 100%; justify-content: center; }
  .btn-group { flex-direction: column; }
  .hero-visual { display: none; }
  .case-info { grid-template-columns: 1fr; padding: 1.25rem; gap: 0.85rem; }
  .case-info-main { grid-column: auto; }
  .case-info-item { padding-top: 0.85rem; border-top: 1px solid var(--line); }
  .product-head { grid-template-columns: 80px 1fr; padding: 0.75rem; gap: 0.75rem; }
  .product-mono { font-size: 1.5rem; }
  .product-title { font-size: 1.05rem; }
  .product-spec { font-size: 0.78rem; }
  .product-foot { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .variants { font-size: 0.78rem; }
  .variants th, .variants td { padding: 0.45rem 0.2rem; }
  .specs-row { flex-direction: column; gap: 0.1rem; padding: 0.4rem 0; }
  .specs-label { min-width: 0; }

  /* Vollflächig + schmaler Rand: Außenklick schließt (target === .modal), Scroll im Inhalt */
  .modal:not(.modal-lightbox-layer) {
    padding: 0.35rem;
    padding-left: max(0.35rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.35rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
    align-items: stretch;
    justify-content: stretch;
    flex-direction: column;
  }
  .modal:not(.modal-lightbox-layer) .modal-content {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    height: auto;
    align-self: stretch;
    border-top: none;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    padding: 1.5rem 1.1rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    box-shadow: none;
  }
  .modal-lightbox-layer {
    padding: 0.75rem;
    align-items: center;
    justify-content: center;
    flex-direction: row;
  }
  .form-row, .form-row-2-1, .form-row-3 { gap: 1rem; }

  .b2b-notice { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1rem 1.25rem; }
}

/* === MOBILE TINY — Galaxy Fold & Co. < 360 px === */
@media (max-width: 360px) {
  html { font-size: 14px; }
  .container { padding: 0 1rem; }
  .product-head { grid-template-columns: 64px 1fr; padding: 0.65rem; gap: 0.65rem; }
  .product-mono { font-size: 1.25rem; }
  .modal-content { padding: 1.25rem 0.9rem; }
}

/* === TABLET LANDSCAPE — iPad & ähnliche 768–1024 px === */
@media (min-width: 721px) and (max-width: 1024px) {
  .container { padding: 0 1.75rem; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature { padding: 2rem 1.5rem; }
  .hero-inner { gap: 2.5rem; }
  .hero-visual { aspect-ratio: 4/5; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === WIDE DESKTOP — > 1600 px === */
@media (min-width: 1600px) {
  html { font-size: 18px; }
  .container { max-width: 1440px; }
}

/* === ULTRA-WIDE / 4K — > 2200 px === */
@media (min-width: 2200px) {
  html { font-size: 19px; }
  .container { max-width: 1680px; }
}

/* === LANDSCAPE-Telefon — wenig Höhe === */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 3rem 0 2rem; }
  section { padding: 3rem 0; }
  .modal { padding: 1rem; align-items: flex-start; }
}

/* === TOUCH-ONLY-Geräte — Hover-Effekte abschalten === */
@media (hover: none) and (pointer: coarse) {
  .product:hover { border-color: var(--line); }
  .btn:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); }
  .btn-outline:hover { background: transparent; color: var(--navy); }
  .tab:hover { border-color: var(--line); color: var(--navy); }
  .nav a::after { display: none; }
  .cart-btn:hover { border-color: var(--line); color: var(--navy); }
}

/* === ACCESSIBILITY — reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === PRINT === */
@media print {
  .site-header, .site-footer, .nav-toggle, .cart-btn, .modal, .btn, .toolbar, .b2b-notice { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { padding: 2rem 0; }
  .hero-visual { display: none; }
  section { padding: 2rem 0; page-break-inside: avoid; }
}
