/* ═══════════════════════════════════════════════════════
   DER GUERTELMACHER — Design System & Shared Styles
   Thomas W. Beckert, Füssen
   ═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --navy: #0d1117;
  --navy-light: #151b25;
  --navy-mid: #1c2333;
  --gold: #c8a45e;
  --gold-light: #dbb978;
  --gold-dim: rgba(200,164,94,0.15);
  --cream: #f0ece4;
  --cream-dim: #c4bfb4;
  --warm-white: #e8e4dc;
  --text: #9a958c;
  --leather: #3d2b1f;
  --leather-light: #5c4033;
  --border: rgba(200,164,94,0.08);
  --border-hover: rgba(200,164,94,0.25);
  --radius: 4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Libre Baskerville', Georgia, serif;
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ── */
.font-display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
}

.label {
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Libre Baskerville', serif;
}

.section-label {
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 20px;
}

.section-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
  max-width: 640px;
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 16px 48px;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Libre Baskerville', serif;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

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

.btn-filled {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.btn-filled:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,164,94,0.2);
}

.btn-ghost {
  border: 1px solid var(--border-hover);
  color: var(--cream-dim);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200,164,94,0.12);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition);
}

nav.scrolled {
  background: rgba(13,17,23,0.97);
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo {
  height: 44px;
  width: auto;
  filter: invert(1);
  opacity: 0.9;
  margin-right: 12px;
  flex-shrink: 0;
}
.nav-brand {
  display: flex;
  align-items: center;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 1px;
}
.nav-brand-text small {
  font-size: 0.52rem;
  font-family: 'Libre Baskerville', serif;
  font-style: normal;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cream-dim);
  font-weight: 400;
  margin-top: 2px;
}

.nav-center {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-center a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-family: 'Libre Baskerville', serif;
  transition: color 0.3s;
  position: relative;
}
.nav-center a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-center a:hover,
.nav-center a.active {
  color: var(--gold);
}
.nav-center a:hover::after,
.nav-center a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Cart icon */
.cart-toggle {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--cream-dim);
  transition: color 0.3s;
}
.cart-toggle:hover { color: var(--gold); }

.cart-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Libre Baskerville', serif;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s;
}
.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream-dim);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0; right: 0; bottom: 0;
  background: rgba(13,17,23,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--cream);
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Libre Baskerville', serif;
  transition: color 0.3s;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--gold); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── HERO SLIDER ── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-slide.active {
  opacity: 1;
}

.hero-slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(240,236,228,0.25);
  border: 1px solid rgba(200,164,94,0.3);
  cursor: pointer;
  transition: all 0.4s;
  padding: 0;
}
.hero-slider-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}
.hero-slider-dot:hover {
  background: rgba(200,164,94,0.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,17,23,0.7) 0%, rgba(13,17,23,0.4) 40%, rgba(13,17,23,0.6) 70%, rgba(13,17,23,0.85) 100%),
    rgba(13,17,23,0.3);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  width: 520px;
  max-width: 90%;
  height: auto;
  filter: invert(1);
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-family: 'Libre Baskerville', serif;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.4);
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-kicker {
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--cream-dim);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--gold), transparent);
  margin: 0 auto 4px;
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll small {
  font-size: 0.55rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.6;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── DIVIDER ── */
.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0;
}
.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* ── CARDS (shared) ── */
.card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(200,164,94,0.06);
  padding: 60px 40px 40px;
  max-width: 1200px;
  margin: 80px auto 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col .footer-heading {
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.8;
}
.footer-col a {
  display: block;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(200,164,94,0.06);
  padding-top: 32px;
}

.footer-logo {
  height: 60px;
  width: auto;
  filter: invert(1);
  opacity: 0.3;
  margin: 0 auto 12px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  opacity: 0.4;
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: #444;
  letter-spacing: 1.5px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--cream-dim);
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}

/* ── CART SIDEBAR ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--navy-light);
  border-left: 1px solid var(--border);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--cream);
}
.cart-close {
  background: none;
  border: none;
  color: var(--cream-dim);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s;
}
.cart-close:hover { color: var(--gold); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  background: #ffffff;
  flex-shrink: 0;
  overflow: hidden;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cart-item-info {
  flex: 1;
}
.cart-item-info .item-sku {
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cart-item-info .item-desc {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}
.cart-item-info .item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--cream);
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.7rem;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  align-self: flex-start;
  padding: 4px;
}
.cart-item-remove:hover { color: #e05050; }

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text);
  font-size: 0.9rem;
  font-style: italic;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.cart-total-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
}
.cart-total-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold);
}
.cart-checkout {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
}

/* ── PRODUCT MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 24px;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
}
.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--cream-dim);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1;
  padding: 4px;
  transition: color 0.3s;
}
.modal-close:hover { color: var(--gold); }

.modal-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.modal-image[data-fit="cover"] {
  padding: 0;
}
.modal-image[data-fit="cover"] img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.modal-body {
  padding: 32px;
}
.modal-sku {
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.modal-kategorie {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.modal-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--cream);
  margin-bottom: 24px;
}
.modal-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 32px;
}
.modal-price small {
  font-size: 0.75rem;
  color: var(--text);
  font-family: 'Libre Baskerville', serif;
  display: block;
  margin-top: 4px;
}
.modal-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.modal-actions .btn {
  flex: 1;
  min-width: 180px;
}
.modal-hinweis {
  margin-top: 16px;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 1100px) {
  section { padding: 80px 32px; }
  .hero-content { max-width: 680px; }
}

/* Tablet / small screens */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-center { display: none; }
  .hamburger { display: flex; }
  .nav-logo { height: 36px; }
  section { padding: 60px 20px; }
  .container { padding: 0 20px; }

  /* Footer */
  footer { padding: 40px 20px 24px; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-social { justify-content: center; }

  /* Hero Slider */
  .hero { min-height: 500px; }
  .hero-slider-dots { bottom: 70px; }
  .hero-scroll { display: none; }

  /* Section typography */
  .section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); }
  .section-text { font-size: 0.88rem; }

  /* Product grid (shop) */
  .product-grid { grid-template-columns: repeat(2, 1fr); }

  /* Product modal */
  .modal-inner { width: 95%; max-height: 90vh; padding: 24px; }

  /* Cart sidebar */
  .cart-sidebar { width: 100%; max-width: 380px; }
}

/* Mobile */
@media (max-width: 600px) {
  nav { height: 60px; padding: 0 16px; }
  .nav-brand { font-size: 1.1rem; }
  .nav-brand-text { font-size: 1.1rem; }
  .nav-brand-text small { font-size: 0.45rem; letter-spacing: 1.5px; }
  .nav-logo { height: 30px; margin-right: 8px; }
  section { padding: 48px 16px; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero h1 { font-size: 2rem; margin-bottom: 16px; }
  .hero-kicker { font-size: 0.62rem; letter-spacing: 3px; margin-bottom: 20px; }
  .hero-sub { font-size: 0.85rem; line-height: 1.7; margin-bottom: 28px; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .hero-buttons .btn { width: 100%; max-width: 280px; text-align: center; }
  .hero-slider-dots { bottom: 50px; gap: 8px; }
  .hero-slider-dot { width: 6px; height: 6px; }

  /* Buttons */
  .btn { padding: 14px 32px; font-size: 0.7rem; }

  /* Product grid */
  .product-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Filter bar */
  .filter-bar { flex-direction: column; gap: 12px; }
  .filter-cats { flex-wrap: wrap; }

  /* Modal */
  .modal-inner { padding: 20px; border-radius: 0; width: 100%; height: 100%; max-height: 100%; }

  /* Footer */
  .footer-inner { gap: 28px; }
  .footer-logo { height: 48px; }

  /* Section */
  .section-label { font-size: 0.6rem; letter-spacing: 3px; }
  .divider { width: 40px; }
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-muted { color: var(--text); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mt-3 { margin-top: 48px; }
.mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 16px; }
.mb-2 { margin-bottom: 32px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── FOOTER LEGAL LINKS ── */
.footer-legal {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--text);
  transition: color 0.3s;
}
.footer-legal a:hover {
  color: var(--gold);
}

/* ── CONSENT BANNER ── */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: rgba(13,17,23,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(200,164,94,0.12);
  padding: 20px 40px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
}
.consent-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.consent-text {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
}
.consent-text a {
  color: var(--gold);
  transition: color 0.3s;
}
.consent-text a:hover {
  color: var(--gold-light);
}

.consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.consent-btn {
  padding: 10px 24px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Libre Baskerville', serif;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.consent-btn-accept {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.consent-btn-accept:hover {
  background: var(--gold-light);
}

.consent-btn-link {
  border: 1px solid var(--border-hover);
  color: var(--cream-dim);
  background: transparent;
}
.consent-btn-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 600px) {
  .consent-banner { padding: 16px; }
  .consent-inner { flex-direction: column; gap: 16px; text-align: center; }
  .consent-actions { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════
   CHECKOUT MODAL
   ═══════════════════════════════════════════════════════ */

.checkout-modal {
  max-width: 720px;
  padding: 40px 36px 32px;
}

.checkout-modal h2 {
  color: var(--cream);
  font-size: 1.8rem;
  letter-spacing: 0.02em;
}

.checkout-modal h3 {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 28px 0 14px;
  font-weight: 600;
}

.checkout-summary {
  background: var(--navy);
  border: 1px solid rgba(200,164,94,0.12);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 8px;
}
.checkout-summary h3 { margin-top: 0; }

.checkout-items {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.checkout-items li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(200,164,94,0.08);
  font-size: 0.88rem;
  color: var(--cream);
}
.checkout-items li:last-child { border-bottom: 0; }
.checkout-items .ci-qty { color: var(--gold); font-weight: 600; }
.checkout-items .ci-price { color: var(--cream-dim); white-space: nowrap; }

.checkout-totals {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(200,164,94,0.18);
}
.checkout-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--cream-dim);
}
.checkout-line.checkout-anzahlung {
  color: var(--gold);
  font-size: 1.05rem;
  padding: 12px 0;
  border-top: 1px solid rgba(200,164,94,0.12);
  border-bottom: 1px solid rgba(200,164,94,0.12);
  margin: 6px 0;
}

.checkout-form input:not([type="checkbox"]):not([type="radio"]),
.checkout-form textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid rgba(200,164,94,0.22);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.92rem;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: 0;
  border-color: var(--gold);
}
.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: rgba(196,191,180,0.5);
}
.checkout-form .form-row {
  display: flex;
  gap: 12px;
}
.checkout-form .form-row > input { flex: 1; }
.checkout-form textarea { resize: vertical; min-height: 70px; }

.checkout-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.5;
  margin-top: 6px;
}
.checkout-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0 0;
  flex: 0 0 18px;
  accent-color: var(--gold);
  cursor: pointer;
}
.checkout-consent span { flex: 1; }
.checkout-consent a { color: var(--gold); text-decoration: underline; }

.checkout-hint {
  font-size: 0.78rem;
  color: var(--cream-dim);
  text-align: center;
  margin-top: 18px;
  line-height: 1.6;
}

#paypal-button-container {
  min-height: 48px;
}
#paypal-button-container:empty::before {
  content: 'PayPal-Button wird geladen...';
  display: block;
  text-align: center;
  color: var(--cream-dim);
  font-size: 0.85rem;
  padding: 12px;
}

@media (max-width: 600px) {
  .checkout-modal { padding: 32px 20px 24px; }
  .checkout-form .form-row { flex-direction: column; gap: 0; }
  .checkout-form .form-row > input { flex: none; }
}

/* WhatsApp-Button — color-scheme passendes Grau */
.btn-wa {
  background: #2d343f !important;
  border-color: #2d343f !important;
  color: var(--cream) !important;
}
.btn-wa:hover {
  background: #3a4250 !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}
