/* ====== Variablen ====== */
:root {
  --bg: #0a0a0a;
  --bg-alt: #131313;
  --bg-card: #161616;
  --text: #ededed;
  --text-muted: #a3a3a3;
  --accent: #c8860a;
  --accent-light: #e0a52e;
  --border: #2a2a2a;
  --font-head: 'Bebas Neue', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ====== Reset ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.1;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ====== Navigation ====== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.logo span { color: var(--accent); }

.main-nav {
  display: none;
  gap: 2.2rem;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active { color: var(--accent-light); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav.open {
  display: flex;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 1rem;
}

/* ====== Buttons ====== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 24px rgba(200, 134, 10, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* ====== Hero ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: -10% 0 0 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 134, 10, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.93)),
    url('../images/IMG_5.png') 68% 38% / cover no-repeat;
  z-index: -1;
  will-change: transform;
}

@media (max-width: 640px) {
  .hero-bg {
    background-position: 72% 38%, 72% 38%, 72% 38%;
  }
}

/* Texturierte Sektionen mit Hintergrundfotos */
.section-textured {
  position: relative;
}

.section-textured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--texture-img) center / cover no-repeat;
  opacity: 0.16;
  z-index: 0;
}

.section-textured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.92), rgba(10, 10, 10, 0.97));
  z-index: 0;
}

.section-textured > .container {
  position: relative;
  z-index: 1;
}

#merkmale { --texture-img: url('../images/IMG_2.PNG'); }
#ueber-uns { --texture-img: url('../images/IMG_3.PNG'); }
#kontakt.section-textured { --texture-img: url('../images/IMG_4.PNG'); }

.product-card .product-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.hero-inner { padding: 4rem 1.5rem; }

.hero-tag {
  display: inline-block;
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3.2rem, 11vw, 7.2rem);
  max-width: 16ch;
  letter-spacing: 0.005em;
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Hero-Einblendung beim Laden */
.hero-tag, .hero h1, .hero-sub, .btn-group {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.9s ease forwards;
}

.hero-tag { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.25s; }
.hero-sub { animation-delay: 0.4s; }
.btn-group { animation-delay: 0.55s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ====== Scroll-Reveal (Apple-artige Animation) ====== */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-tag, .hero h1, .hero-sub, .btn-group {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.statement-accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  color: var(--accent-light);
  background: linear-gradient(120deg, var(--accent-light), var(--accent) 70%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ====== Sections ====== */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-title.left { text-align: left; }

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto 3rem;
  font-size: 1rem;
}

/* ====== Merkmal-Karten ====== */
.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  grid-template-columns: 1fr;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ====== Produktkarten ====== */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.placeholder-img {
  background: linear-gradient(135deg, #181818, #222);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

.placeholder-img svg { width: 35%; height: 35%; opacity: 0.85; }

.placeholder-img.small svg { width: 28%; height: 28%; }

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 1.25rem;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.6rem;
}

.card-cta {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-light);
  transition: color 0.2s ease;
}

.card-cta:hover { color: var(--accent); }

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* ====== Über uns ====== */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-grid p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 1rem;
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--accent);
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.nameplate-proof {
  margin: 1.5rem 0 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
}

.nameplate-proof img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.nameplate-proof figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ====== Kontakt ====== */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--accent-light);
  border: 1px solid var(--border);
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.instagram-link:hover { border-color: var(--accent); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.contact-form label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.contact-form input, .contact-form textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status-success { color: #4caf7d; }
.form-status-error { color: #d9534f; }

/* ====== Footer ====== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-logo { font-size: 1.1rem; }

.footer-inner a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-inner a:hover { color: var(--accent-light); }

.social-links {
  display: flex;
  gap: 1.1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

/* ====== Kollektion-Seite (kollektion.html) ====== */
.page-hero {
  padding: 9rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
}

.page-hero p {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 1.25rem auto 0;
}

.lamp-block {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.lamp-block:first-of-type { border-top: none; }

.lamp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.lamp-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.lamp-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.lamp-number {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.lamp-desc {
  color: var(--text-muted);
  max-width: 65ch;
  margin-bottom: 2rem;
}

.lamp-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.lamp-gallery figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
}

.lamp-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.lamp-gallery img:hover { transform: scale(1.04); }

.lamp-gallery .step-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, #181818, #222);
  font-size: 0.85rem;
}

.lamp-gallery .step-placeholder svg { width: 28px; height: 28px; color: var(--accent); opacity: 0.7; }

.lamp-gallery figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
  color: var(--text);
}

.gallery-badge {
  display: none;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  align-items: center;
  gap: 0.3rem;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--border);
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  pointer-events: none;
}

/* Mobil: nur das Titelbild (fertige Lampe) zeigen, Rest erst in der Lightbox */
@media (max-width: 639px) {
  .lamp-gallery figure { display: none; }
  .lamp-gallery figure.cover { display: block; }
  .gallery-badge { display: flex; }
}

.lamp-block .card-cta { margin-top: 2rem; font-size: 1rem; }

.lamp-block.lamp-block-soon {
  text-align: center;
  padding: 4rem 0 6rem;
}

.lamp-block.lamp-block-soon p {
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0.75rem auto 0;
}

.bonus-block {
  margin-top: 1rem;
  padding-top: 3rem;
  border-top: 2px dashed var(--border);
}

.bonus-block .lamp-subtitle {
  color: var(--accent-light);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lightbox-nav:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (min-width: 640px) {
  .lightbox-prev { left: 2rem; }
  .lightbox-next { right: 2rem; }
}

/* ====== Impressum ====== */
.legal-content {
  padding: 7rem 0 6rem;
  max-width: 760px;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p, .legal-content a {
  color: var(--text-muted);
}

.legal-content a { color: var(--accent-light); }

/* ====== Responsive ====== */
@media (min-width: 640px) {
  .card-grid.features { grid-template-columns: repeat(2, 1fr); }
  .card-grid.products { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .lamp-gallery { grid-template-columns: repeat(3, 1fr); }
  .lamp-gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .lamp-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .main-nav { display: flex; }
  .about-grid { grid-template-columns: 1.2fr 0.8fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .card-grid.features { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1000px) {
  .card-grid.products { grid-template-columns: repeat(4, 1fr); }
}
