/* Gold & Silber Ankauf – gemeinsame Styles */
:root {
  --bg: #0c0b09;
  --bg-card: #161411;
  --bg-elevated: #1e1b17;
  --border: rgba(212, 175, 55, 0.15);
  --text: #f5f0e8;
  --text-muted: #9a8f7a;
  --gold: #d4af37;
  --gold-soft: #c9a227;
  --gold-glow: rgba(212, 175, 55, 0.2);
  --silver: #c0c0c0;
  --success: #4ade80;
  --error: #f87171;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}
.font-serif { font-family: 'Cormorant Garamond', serif; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--gold-glow), transparent 50%),
              linear-gradient(180deg, var(--bg) 0%, #0f0d0a 100%);
  pointer-events: none;
  z-index: 0;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }

/* Header */
header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(12, 11, 9, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.logo span { color: var(--silver); font-weight: 400; }
.logo:hover { color: var(--gold); }
nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--gold); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #0c0b09;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--gold-glow);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.08); }
.btn-small { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Section */
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 600; margin-bottom: 0.5rem; color: var(--text); }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(212, 175, 55, 0.35); transform: translateY(-2px); }
.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-elevated);
}
.card-body { padding: 1.25rem; }
.card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.35rem; }
.card-desc { font-size: 0.9rem; color: var(--text-muted); }
.badge-action {
  display: inline-block;
  background: var(--gold);
  color: #0c0b09;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4rem;
}
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Category hero */
.category-hero {
  padding: 3rem 0 4rem;
  text-align: center;
}
.category-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-bottom: 0.75rem; }
.category-hero .cat-desc { color: var(--text-muted); max-width: 560px; margin: 0 auto 1.5rem; }
.category-hero .cat-img {
  width: 100%;
  max-width: 700px;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 1rem;
  border: 1px solid var(--border);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: rgba(212, 175, 55, 0.35); transform: translateY(-2px); }
.product-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-elevated);
}
.product-card .body { padding: 1.25rem; }
.product-card .title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.35rem; }
.product-card .desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.product-card .price-key { font-size: 0.8rem; color: var(--gold); }

/* Form */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
