/* ============================================================
   MÜNZLOCHNER 2026 – PREMIUM THEME CSS
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --gold:         #C1870F;
  --gold-light:   #D4A017;
  --gold-dark:    #9A6A0A;
  --gold-glow:    rgba(193,135,15,.18);

  /* Neutrals – Dark Mode */
  --bg:           #0A0A0A;
  --bg-2:         #111111;
  --bg-3:         #181818;
  --bg-4:         #222222;
  --bg-card:      #141414;
  --border:       rgba(255,255,255,.07);
  --border-gold:  rgba(193,135,15,.25);

  /* Text */
  --text:         #F0EDE8;
  --text-muted:   rgba(240,237,232,.55);
  --text-subtle:  rgba(240,237,232,.35);

  /* Typography */
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs:     .5rem;
  --space-sm:     1rem;
  --space-md:     1.5rem;
  --space-lg:     2.5rem;
  --space-xl:     4rem;
  --space-2xl:    6rem;
  --space-3xl:    8rem;

  /* Layout */
  --container:    1280px;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-full:  9999px;

  /* Transitions */
  --ease:         cubic-bezier(.4,0,.2,1);
  --ease-out:     cubic-bezier(0,0,.2,1);
  --dur-fast:     150ms;
  --dur-base:     250ms;
  --dur-slow:     400ms;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(0,0,0,.4);
  --shadow-md:    0 8px 32px rgba(0,0,0,.5);
  --shadow-lg:    0 24px 64px rgba(0,0,0,.6);
  --shadow-gold:  0 8px 32px rgba(193,135,15,.2);

  /* Nav */
  --nav-h:        72px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 9999;
  padding: .5rem 1rem;
  background: var(--gold);
  color: #000;
  border-radius: var(--radius-sm);
  clip: auto;
  width: auto; height: auto;
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: var(--space-md);
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-title-sm {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all var(--dur-base) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(193,135,15,.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
}
.btn-outline-gold:hover {
  background: var(--gold-glow);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--dur-slow) var(--ease),
              box-shadow var(--dur-slow) var(--ease);
}

.nav-header.is-scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: .02em;
}
/* Mobile-Logo-Varianten */
.nav-logo-text--short { display: none; }
.nav-logo-text--full  { display: inline; }
/* CTA im Mobile-Menü – standardmäßig versteckt */
.nav-link--cta-mobile { display: none !important; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.nav-link {
  padding: .5rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%; height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform var(--dur-base) var(--ease);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  flex-shrink: 0;
  padding: .55rem 1.4rem;
  background: var(--gold);
  color: #000;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: all var(--dur-base) var(--ease);
}
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 6px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--dur-base) var(--ease);
  transform-origin: center;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

.hero-badge-wrap {
  position: absolute;
  top: calc(var(--nav-h) + 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.hero-badge {
  display: inline-block;
  padding: .4rem 1.2rem;
  background: rgba(193,135,15,.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  backdrop-filter: blur(8px);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-2);
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide--fallback {
  background: linear-gradient(135deg, #0A0A0A 0%, #1a1208 50%, #0A0A0A 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.2) 0%,
    rgba(0,0,0,.5) 50%,
    rgba(0,0,0,.8) 100%
  );
}

.hero-slide .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(5rem, 12vh, 10rem);
}

.hero-content {
  max-width: 700px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.2rem;
  letter-spacing: -.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  color: rgba(240,237,232,.75);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 8rem;
  right: clamp(1rem, 4vw, 2.5rem);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-prev, .hero-next {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-base) var(--ease);
  backdrop-filter: blur(8px);
}
.hero-prev:hover, .hero-next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}
.hero-dots { display: flex; gap: .5rem; }
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: all var(--dur-base) var(--ease);
}
.hero-dot.is-active {
  background: var(--gold);
  width: 20px;
  border-radius: 3px;
}

/* Hero Stats */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.25rem 0;
}
.hero-stat {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}
.hero-stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-stat-sep {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
}

/* ============================================================
   7. TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
}
.trust-bar-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-bar-items {
  display: flex;
  align-items: center;
  gap: .75rem;
  overflow: hidden;
  flex-wrap: wrap;
}
.trust-bar-item {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--dur-fast);
}
.trust-bar-item:hover { color: var(--gold); }
.trust-bar-sep { color: var(--border); font-size: .6rem; }

/* Marquee (Mobile only – auf Desktop versteckt) */
.trust-bar-marquee { display: none; padding: .8rem 0; overflow: hidden; }
.trust-bar-marquee__label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  text-align: center;
  margin: 0 0 .5rem;
}
.trust-bar-marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.trust-bar-marquee__track {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: max-content;
  animation: mznl-marquee 22s linear infinite;
  will-change: transform;
}
.trust-bar-marquee__track:hover { animation-play-state: paused; }
@keyframes mznl-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ============================================================
   8. SORTIMENT SECTION (Startseite)
   ============================================================ */
.sortiment-section { background: var(--bg); }

.sortiment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.sortiment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--dur-base) var(--ease);
  overflow: hidden;
}
.sortiment-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}
.sortiment-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}
.sortiment-card:hover::before { opacity: 1; }

.sortiment-card__icon {
  width: 44px; height: 44px;
  color: var(--gold);
  flex-shrink: 0;
}
.sortiment-card__icon svg { width: 100%; height: 100%; }

.sortiment-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

.sortiment-card__desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sortiment-card__count {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold);
  text-transform: uppercase;
}

.sortiment-card__subs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .25rem;
}
.sortiment-card__subs span {
  font-size: .7rem;
  padding: .2rem .6rem;
  background: var(--bg-4);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.sortiment-card__arrow {
  margin-top: auto;
  font-size: 1rem;
  color: var(--gold);
  transition: transform var(--dur-base) var(--ease);
}
.sortiment-card:hover .sortiment-card__arrow { transform: translateX(4px); }

/* ============================================================
   9. ABOUT SECTION
   ============================================================ */
.about-section { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-content { max-width: 560px; }

.about-text {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 2rem 0;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: var(--text-muted);
}
.about-feature-icon {
  width: 16px; height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.about-visual { position: relative; }

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.about-img-wrap--placeholder .about-img-placeholder {
  aspect-ratio: 3/4;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
}

.about-img-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: var(--gold);
  color: #000;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-img-badge-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
}
.about-img-badge-text {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .25rem;
}

/* ============================================================
   10. REFERENZEN SECTION
   ============================================================ */
.referenzen-section { background: var(--bg); }

.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.referenzen-grid .ref-card--featured {
  grid-column: span 2;
}

.ref-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease);
}
.ref-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ref-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.ref-card--featured .ref-card__img-wrap {
  aspect-ratio: 16/9;
}
.ref-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.ref-card:hover .ref-card__img { transform: scale(1.04); }

.ref-card__body {
  padding: 1.5rem;
}
.ref-card__tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}
.ref-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: .5rem;
}
.ref-card__title a { transition: color var(--dur-fast); }
.ref-card__title a:hover { color: var(--gold); }
.ref-card__desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Referenzen Filter */
.referenzen-filter {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.ref-filter-btn {
  padding: .5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all var(--dur-fast) var(--ease);
}
.ref-filter-btn:hover,
.ref-filter-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

/* ============================================================
   11. KATALOG SECTION
   ============================================================ */
.katalog-section {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.katalog-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(193,135,15,.06) 0%, transparent 70%);
  pointer-events: none;
}

.katalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.katalog-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.katalog-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.katalog-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  margin: 0 auto;
}

.katalog-mockup {
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}
.katalog-mockup-cover {
  text-align: center;
}
.katalog-mockup-cover span {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
}
.katalog-mockup-year {
  font-size: 1rem !important;
  color: var(--text-muted) !important;
  margin-top: .5rem;
}

/* ============================================================
   12. NEWS SECTION
   ============================================================ */
.news-section { background: var(--bg); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.news-grid .news-card--featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.news-card--featured .news-card__img-wrap {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.news-card--featured .news-card__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease);
}
.news-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}
.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.news-card:hover .news-card__img { transform: scale(1.04); }

.news-card__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: .3rem .8rem;
  background: var(--gold);
  color: #000;
  border-radius: var(--radius-full);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-card__body { padding: 1.5rem; }
.news-card__date {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}
.news-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: .75rem;
}
.news-card__title a { transition: color var(--dur-fast); }
.news-card__title a:hover { color: var(--gold); }
.news-card__excerpt {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.news-card__link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
  transition: gap var(--dur-fast);
}
.news-card__link:hover { text-decoration: underline; }

/* ============================================================
   13. KONTAKT SECTION
   ============================================================ */
.kontakt-section { background: var(--bg-2); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.kontakt-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.kontakt-details { display: flex; flex-direction: column; gap: .75rem; }
.kontakt-detail-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1rem;
  color: var(--text-muted);
  transition: color var(--dur-fast);
}
.kontakt-detail-link:hover { color: var(--gold); }

/* Kontakt Form */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: .85rem 1rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: .95rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-subtle);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
.form-group select option { background: var(--bg-3); }

.form-privacy .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .85rem;
  color: var(--text-muted);
  cursor: pointer;
}
.form-privacy input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold);
  margin-top: .1rem;
}
.form-privacy a { color: var(--gold); text-decoration: underline; }

.form-message {
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
  font-size: .875rem;
  display: none;
}
.form-message.success {
  display: block;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  color: #4ade80;
}
.form-message.error {
  display: block;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  color: #f87171;
}

.spin {
  animation: spin .8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   14. PAGE HERO (Unterseiten)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  background: var(--bg-2);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.page-hero--sortiment {
  min-height: 280px;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.4) 0%, rgba(0,0,0,.7) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__content { max-width: 700px; }
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  margin-top: .75rem;
}
.page-hero__subtitle {
  color: rgba(240,237,232,.7);
  font-size: 1.05rem;
  margin-top: .75rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
  font-size: .75rem;
  color: var(--text-subtle);
}
.breadcrumbs a { transition: color var(--dur-fast); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs__sep { color: var(--text-subtle); }
.breadcrumbs span { color: var(--text-muted); }

/* ============================================================
   15. SORTIMENT LAYOUT (Archiv)
   ============================================================ */
.sortiment-layout { padding: var(--space-xl) 0; }
.sortiment-layout-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Sidebar */
.sortiment-aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.sortiment-sidebar__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.sortiment-sidebar__list { display: flex; flex-direction: column; gap: .15rem; }
.sortiment-sidebar__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text-muted);
  transition: all var(--dur-fast);
}
.sortiment-sidebar__item a:hover,
.sortiment-sidebar__item.is-active > a {
  background: var(--bg-3);
  color: var(--text);
}
.sortiment-sidebar__item.is-active > a { color: var(--gold); }
.sortiment-sidebar__count {
  font-size: .72rem;
  color: var(--text-subtle);
  background: var(--bg-4);
  padding: .15rem .5rem;
  border-radius: var(--radius-full);
}
.sortiment-sidebar__sub {
  margin-left: 1rem;
  margin-top: .15rem;
}
.sortiment-sidebar__sub li a {
  font-size: .82rem;
  padding: .4rem .75rem;
}

/* Toolbar */
.sortiment-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.sortiment-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.sortiment-search {
  width: 100%;
  padding: .7rem 1rem .7rem 2.5rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text);
  font-size: .875rem;
  outline: none;
  transition: border-color var(--dur-fast);
}
.sortiment-search:focus { border-color: var(--gold); }
.sortiment-search-icon {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
}
.sortiment-count {
  font-size: .8rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.sortiment-sort-select {
  padding: .6rem 2rem .6rem .85rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text);
  font-size: .8rem;
  outline: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .5rem center;
  background-size: 14px;
  appearance: none;
  -webkit-appearance: none;
}

/* Produkt Grid */
.produkt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.produkt-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.produkt-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Produkt Card */
.produkt-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease);
  display: flex;
  flex-direction: column;
}
.produkt-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.produkt-card__img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-3);
}
.produkt-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.produkt-card:hover .produkt-card__img { transform: scale(1.05); }
.produkt-card__img--placeholder {
  background: var(--bg-3);
}

.produkt-card__wishlist {
  position: absolute;
  top: .75rem; right: .75rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
  opacity: 0;
}
.produkt-card:hover .produkt-card__wishlist { opacity: 1; }
.produkt-card__wishlist:hover,
.produkt-card__wishlist.is-active {
  background: var(--gold);
  color: #000;
}

.produkt-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}
.produkt-card__kat {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.produkt-card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}
.produkt-card__title a { transition: color var(--dur-fast); }
.produkt-card__title a:hover { color: var(--gold); }
.produkt-card__nr {
  font-size: .72rem;
  color: var(--text-subtle);
}
.produkt-card__price {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-top: .25rem;
}
.price-on-request { font-style: italic; color: var(--text-muted); font-weight: 400; }
.price-suffix { font-size: .75rem; font-weight: 400; color: var(--text-muted); }
.produkt-card__link {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: auto;
  padding-top: .5rem;
  transition: gap var(--dur-fast);
}
.produkt-card__link:hover { text-decoration: underline; }

/* Empty State */
.sortiment-empty,
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.sortiment-empty svg { color: var(--text-subtle); }

/* ============================================================
   16. PRODUKT DETAIL
   ============================================================ */
.produkt-breadcrumb-bar {
  padding: 1rem 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.produkt-detail { padding: var(--space-xl) 0; }
.produkt-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* Gallery */
.produkt-gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
}
.produkt-gallery-main-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.produkt-gallery-placeholder {
  aspect-ratio: 4/3;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: var(--text-subtle);
}

.gallery-prev, .gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(8px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
}
.gallery-prev { left: .75rem; }
.gallery-next { right: .75rem; }
.gallery-prev:hover, .gallery-next:hover {
  background: var(--gold);
  color: #000;
}

.produkt-gallery-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
  overflow-x: auto;
  padding-bottom: .25rem;
}
.gallery-thumb {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--dur-fast);
}
.gallery-thumb.is-active { border-color: var(--gold); }
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Produkt Info */
.produkt-info { padding-top: .5rem; }
.produkt-info-kat {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.produkt-info-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: .5rem;
}
.produkt-info-nr {
  display: block;
  font-size: .78rem;
  color: var(--text-subtle);
  margin-bottom: 1.5rem;
}
.produkt-info-price {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.produkt-info-price-note {
  font-size: .75rem;
  font-weight: 400;
  color: var(--text-subtle);
}
.produkt-info-masse,
.produkt-info-bestand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.produkt-info-bestand { color: #4ade80; }
.produkt-info-desc {
  margin: 1.5rem 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: .95rem;
}
.produkt-info-actions {
  display: flex;
  gap: .75rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.produkt-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}
.produkt-tag {
  padding: .3rem .8rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .72rem;
  color: var(--text-muted);
  transition: all var(--dur-fast);
}
.produkt-tag:hover {
  border-color: var(--border-gold);
  color: var(--gold);
}

/* Related */
.related-section { background: var(--bg-2); }

/* ============================================================
   17. NEWS SINGLE
   ============================================================ */
.news-single-hero {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
}
.news-single-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 520px;
}
.news-single-layout { max-width: 780px; margin: 0 auto; }
.news-single-header { padding: var(--space-xl) 0 var(--space-lg); }
.news-single-date {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.news-single-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.15;
}
.news-single-body {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}
.news-single-body h2, .news-single-body h3 {
  font-family: var(--font-serif);
  color: var(--text);
  margin: 2rem 0 .75rem;
}
.news-single-body p { margin-bottom: 1.25rem; }
.news-single-body img { border-radius: var(--radius-md); margin: 1.5rem 0; }
.news-single-produkte { margin-top: var(--space-xl); padding-top: var(--space-xl); border-top: 1px solid var(--border); }
.news-single-produkte h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.news-single-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}
.news-nav-link {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color var(--dur-fast);
  max-width: 45%;
}
.news-nav-link:hover { color: var(--gold); }
.news-nav-link--next { text-align: right; }
.news-single-back { margin-top: 2rem; }

/* ============================================================
   18. REFERENZ SINGLE
   ============================================================ */
.referenz-single-hero {
  width: 100%;
  max-height: 560px;
  overflow: hidden;
}
.referenz-single-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 560px;
}
.referenz-single-layout { max-width: 900px; margin: 0 auto; padding: var(--space-xl) 0; }
.referenz-single-header { margin-bottom: var(--space-xl); }
.referenz-single-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.15;
  margin: .75rem 0;
}
.referenz-single-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.referenz-galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: var(--space-xl);
}
.referenz-galerie-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.referenz-single-content {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}
.referenz-single-back {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   19. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.footer-logo-link, .footer-logo-text {
  display: inline-block;
  margin-bottom: .75rem;
}
.footer-logo { height: 40px; width: auto; }
.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text);
}
.footer-tagline {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.footer-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--dur-fast);
}
.footer-social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.footer-nav-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 1.25rem;
}
.footer-nav-list { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav-list a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color var(--dur-fast);
}
.footer-nav-list a:hover { color: var(--gold); }

.footer-contact-link {
  display: block;
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
  transition: color var(--dur-fast);
}
.footer-contact-link:hover { color: var(--gold); }
.footer-address-item {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 1rem;
}
.footer-address-item strong { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: .78rem;
  color: var(--text-subtle);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: .78rem;
  color: var(--text-subtle);
  transition: color var(--dur-fast);
}
.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   20. BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--dur-base) var(--ease);
  pointer-events: none;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

/* ============================================================
   21. ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   22. PAGINATION
   ============================================================ */
.pagination {
  margin-top: var(--space-xl);
  display: flex;
  justify-content: center;
}
.pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: .4rem;
  list-style: none;
}
.pagination .page-numbers li a,
.pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all var(--dur-fast);
}
.pagination .page-numbers li a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.pagination .page-numbers li span.current {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  font-weight: 700;
}

/* ============================================================
   23. 404
   ============================================================ */
.error-404-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0;
}
.error-404-content { text-align: center; max-width: 520px; margin: 0 auto; }
.error-404-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  opacity: .3;
}
.error-404-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 1rem;
}
.error-404-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.error-404-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   24. PAGE CONTENT
   ============================================================ */
.page-content-layout { max-width: 780px; margin: 0 auto; }
.entry-content {
  color: var(--text-muted);
  line-height: 1.8;
}
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  font-family: var(--font-serif);
  color: var(--text);
  margin: 2rem 0 .75rem;
  font-weight: 400;
}
.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.4rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content a { color: var(--gold); text-decoration: underline; }
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  list-style: disc;
}
.entry-content img { border-radius: var(--radius-md); margin: 1.5rem 0; }

/* ============================================================
   25. RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid,
  .katalog-grid,
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .about-visual { order: -1; }
  .about-img-badge { right: 1rem; }
  .katalog-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .referenzen-grid { grid-template-columns: 1fr 1fr; }
  .referenzen-grid .ref-card--featured { grid-column: span 2; }
  .news-grid .news-card--featured { grid-column: span 3; }
  .produkt-detail-grid { grid-template-columns: 1fr; }
  .sortiment-layout-inner { grid-template-columns: 1fr; }
  .sortiment-aside { position: static; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav-links { display: none; }
  /* CTA im Header auf Mobile verstecken – CTA ist im aufgeklappten Burger-Menü */
  .nav-cta { display: none; }
  /* Burger prominent rechts */
  .nav-burger { display: flex; margin-left: auto; }
  /* Kurzen Logo-Text auf Mobile zeigen */
  .nav-logo-text--full  { display: none; }
  .nav-logo-text--short { display: inline; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,10,10,.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem 1.5rem 2rem;
    gap: .25rem;
    border-bottom: 1px solid var(--border);
    z-index: 999;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.is-open .nav-link {
    padding: .85rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
  /* CTA im Mobile-Menü */
  .nav-links.is-open .nav-link--cta-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: .9rem 1.5rem;
    background: var(--gold);
    color: #000;
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .04em;
    border-radius: var(--radius-full);
    text-align: center;
  }
  .nav-links.is-open .nav-link--cta-mobile::after { display: none; }

  /* Hero auf Mobile: Stats-Bar aus dem absoluten Fluss nehmen, unter den Hero setzen */
  .hero {
    height: auto;
    min-height: calc(100svh - 60px);
    display: flex;
    flex-direction: column;
  }
  .hero-slider {
    position: relative;
    flex: 1;
    min-height: 0;
  }
  .hero-slide {
    position: absolute;
    inset: 0;
  }
  .hero-slide .container {
    padding-top: calc(var(--nav-h) + 4rem);
    padding-bottom: 3rem;
    align-items: flex-start;
  }
  /* Badge über dem Titel: auf Mobile ausblenden um Kollision zu vermeiden */
  .hero-badge-wrap { display: none; }
  /* Stats-Bar: aus absoluter Positionierung nehmen, normal im Flow */
  .hero-stats {
    position: static;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(10,10,10,.95);
    border-top: 1px solid var(--border);
  }
  .hero-stat-sep { width: 40px; height: 1px; }
  .hero-stat { padding: 0; }

  .sortiment-grid { grid-template-columns: repeat(2, 1fr); }
  .referenzen-grid { grid-template-columns: 1fr; }
  .referenzen-grid .ref-card--featured { grid-column: span 1; }
  .news-grid { grid-template-columns: 1fr; }
  .news-grid .news-card--featured {
    grid-column: span 1;
    display: block;
  }
  .news-card--featured .news-card__img-wrap {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }

  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-controls { display: none; }
  .produkt-grid--3, .produkt-grid--4 { grid-template-columns: repeat(2, 1fr); }
  /* Trust-Bar: Desktop-Version verstecken, Marquee zeigen */
  .trust-bar-desktop { display: none; }
  .trust-bar-marquee { display: block; }
}

@media (max-width: 480px) {
  .sortiment-grid { grid-template-columns: 1fr; }
  .produkt-grid { grid-template-columns: 1fr; }
  .produkt-grid--3, .produkt-grid--4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; gap: .75rem; }
  .hero-actions .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  .katalog-actions { flex-direction: column; }
}

/* ============================================================
   26. PRINT
   ============================================================ */
@media print {
  .nav-header, .back-to-top, .hero-controls, .hero-stats { display: none; }
  body { background: white; color: black; }
  .section { padding: 2rem 0; }
}

/* ============================================================
   27. FIXES & ADDITIONS 2026
   ============================================================ */

/* Fix: Menü-Overlap – page-hero hat bereits padding, aber produkt-breadcrumb-bar und
   alle anderen Seitenanfänge brauchen margin-top für den fixed Header */

/* produkt-breadcrumb-bar (Einzelprodukt-Seite) */
.produkt-breadcrumb-bar {
  margin-top: var(--nav-h);
}

/* 404-Seite und andere Seiten ohne page-hero */
.error-404-section {
  padding-top: calc(var(--nav-h) + 4rem);
}

/* Standard-Seiten (page.php) – page-hero hat bereits den offset */

/* WP Admin Bar Korrektur */
.admin-bar .nav-header { top: 32px; }
.admin-bar .produkt-breadcrumb-bar { margin-top: calc(var(--nav-h) + 32px); }
.admin-bar .page-hero { padding-top: calc(var(--nav-h) + 32px + 4rem); }
.admin-bar .error-404-section { padding-top: calc(var(--nav-h) + 32px + 4rem); }
@media (max-width: 782px) {
  .admin-bar .nav-header { top: 46px; }
  .admin-bar .produkt-breadcrumb-bar { margin-top: calc(var(--nav-h) + 46px); }
  .admin-bar .page-hero { padding-top: calc(var(--nav-h) + 46px + 4rem); }
  .admin-bar .error-404-section { padding-top: calc(var(--nav-h) + 46px + 4rem); }
}

/* ============================================================
   28. KATEGORIE-BOXEN (Sortiment-Übersicht)
   ============================================================ */
.kategorie-boxes-section {
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.kategorie-boxes-section .section-label {
  text-align: center;
  margin-bottom: .5rem;
}

.kategorie-boxes-section .section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.kategorie-boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.kategorie-box {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
  aspect-ratio: 3/2;
}

.kategorie-box:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.kategorie-box__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.kategorie-box__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.kategorie-box:hover .kategorie-box__img {
  transform: scale(1.08);
}

.kategorie-box__img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
}

.kategorie-box__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.85) 0%,
    rgba(0,0,0,.3) 50%,
    rgba(0,0,0,.1) 100%
  );
  transition: background var(--dur-base) var(--ease);
}

.kategorie-box:hover .kategorie-box__overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,.9) 0%,
    rgba(0,0,0,.4) 50%,
    rgba(0,0,0,.15) 100%
  );
}

.kategorie-box__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.1rem .9rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.kategorie-box__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}

.kategorie-box__count {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

.kategorie-box__arrow {
  position: absolute;
  top: .9rem;
  right: .9rem;
  font-size: .9rem;
  color: var(--text-subtle);
  transition: color var(--dur-fast), transform var(--dur-fast);
}

.kategorie-box:hover .kategorie-box__arrow {
  color: var(--gold);
  transform: translateX(3px);
}

/* Responsive Kategorie-Boxen */
@media (max-width: 1024px) {
  .kategorie-boxes-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
}

@media (max-width: 768px) {
  .kategorie-boxes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
  }
  .kategorie-box {
    aspect-ratio: 4/3;
  }
}

@media (max-width: 480px) {
  .kategorie-boxes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
  }
  .kategorie-box__name {
    font-size: .9rem;
  }
}

/* ── Produkt-Card: Bestand-Badge ─────────────────────────────── */
.produkt-card__bestand {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4caf7d;
    background: rgba(76, 175, 125, 0.12);
    border: 1px solid rgba(76, 175, 125, 0.25);
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 6px;
}
.produkt-card__bestand svg {
    flex-shrink: 0;
    stroke: #4caf7d;
}

/* ============================================================
   PRODUKT-CARD: NEUE CTA-ZEILE + BESTAND-BADGE AUF BILD
   ============================================================ */

/* Bestand-Badge: Overlay auf dem Bild (oben links) */
.produkt-card__bestand-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #4caf7d;
  background: rgba(10,10,10,.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(76,175,125,.35);
  border-radius: var(--radius-sm);
  padding: 3px 7px;
  pointer-events: none;
  z-index: 2;
}
.produkt-card__bestand-badge svg {
  stroke: #4caf7d;
  flex-shrink: 0;
}

/* CTA-Zeile: Qty + Merkliste-Button + Details-Pfeil */
.produkt-card__cta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}

/* Qty-Steuerung */
.produkt-card__qty-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.produkt-card__qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--dur-fast), color var(--dur-fast);
  flex-shrink: 0;
}
.produkt-card__qty-btn:hover {
  background: var(--bg-4);
  color: var(--gold);
}
.produkt-card__qty-input {
  width: 36px;
  height: 28px;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  -moz-appearance: textfield;
  padding: 0;
}
.produkt-card__qty-input::-webkit-outer-spin-button,
.produkt-card__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.produkt-card__qty-input:focus {
  outline: none;
  background: var(--bg-4);
}

/* Merkliste-Button (Gold, mit Icon + Text) */
.produkt-card__merkliste-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  height: 30px;
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold);
  transition: all var(--dur-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.produkt-card__merkliste-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}
.produkt-card__merkliste-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}
.produkt-card__merkliste-btn.is-active .produkt-card__merkliste-icon path {
  fill: #000;
  stroke: #000;
}
.produkt-card__merkliste-icon {
  flex-shrink: 0;
  transition: fill var(--dur-fast);
}
.produkt-card__merkliste-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Details-Pfeil-Link (kleines Icon rechts) */
.produkt-card__details-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--dur-fast);
}
.produkt-card__details-link:hover {
  border-color: var(--border-gold);
  color: var(--gold);
  background: var(--bg-4);
}

/* Suffix in Preis-Zeile */
.produkt-card__suffix {
  font-size: .72rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ============================================================
   ARCHIVE SEO-TEXT + FAQ SECTION
   ============================================================ */
.archive-seo-content {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
  margin-top: var(--space-xl);
}
.archive-seo-content__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 900px) {
  .archive-seo-content__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* SEO-Text */
.archive-seo-text {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.8;
}
.archive-seo-text p { margin-bottom: 1rem; }
.archive-seo-text p:last-child { margin-bottom: 0; }
.archive-seo-text strong { color: var(--text); font-weight: 600; }

/* FAQ */
.archive-faq__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.archive-faq__list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.archive-faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-fast);
}
.archive-faq__item:has(.archive-faq__question[aria-expanded="true"]) {
  border-color: var(--border-gold);
}
.archive-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--dur-fast);
}
.archive-faq__question:hover { color: var(--gold); }
.archive-faq__icon {
  flex-shrink: 0;
  color: var(--text-subtle);
  transition: transform var(--dur-base) var(--ease);
}
.archive-faq__question[aria-expanded="true"] .archive-faq__icon {
  transform: rotate(180deg);
  color: var(--gold);
}
.archive-faq__answer {
  padding: 0 1.25rem 1rem;
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.archive-faq__answer[hidden] { display: none; }
