:root {
  --primary-color: #2c3e50;
  --accent-color: #3498db;
  --background: #f4f6f8;
  --text-color: #333;
  --muted-color: #888;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem;
  text-align: center;
}

main {
  flex: 1;
  padding: 2rem;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 0.8s ease-in-out, background-image 0.5s ease-in-out;
}

.main-content {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 8rem;
}

/* main.background-active nicht mehr nötig, kann entfernt werden */

.info-overlay {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.carousel-3d-wrapper {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-3d {
  display: flex;
  perspective: 1000px;
  width: 300px;
  height: 120px;
  position: relative;
  transform-style: preserve-3d;
}

.design-card {
  width: 120px;
  height: 80px;
  background: #eee;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: absolute;
  transition: transform 0.5s, opacity 0.5s;
  cursor: pointer;
}

.carousel-btn {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  border-radius: 8px;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #eaeaea;
  color: var(--muted-color);
  font-size: 0.9rem;
}

#overlayTitle {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--accent-color);
}

#overlayTitle:hover {
  text-decoration: underline;
}
