/* ========================================
   3D-Druck Service - Zentrale Styles
   ======================================== */

:root {
  --color-primary: #333333;
  --color-primary-hover: #000000;
  --color-background: #fcfcf9;
  --color-surface: #fffffe;
  --color-text: #13343b;
  --color-text-secondary: #626c71;
  --color-border: rgba(94, 82, 64, 0.2);
  --color-accent: #ff0000;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Transparentes Firmenlogo als wiederholter Hintergrund */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('WhatsApp Image 2025-10-26 at 20.09.01.jpeg');
  background-repeat: repeat;
  background-size: 350px;
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

/* ========================================
   Header & Navigation
   ======================================== */

.site-header {
  background: #2a2a2a;
  padding: 1.5rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: relative;
  width: 100%;
  z-index: 1000;
  margin: 0;
}

.header-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header-icon {
  font-size: 2.5rem;
  animation: pulse 2s infinite;
  color: white;
}

.header-content h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  margin: 0;
}

@keyframes pulse {
  0%, 100% {transform: scale(1); color: white;}
  50% {transform: scale(1.1); color: #cccccc;}
}

nav {
  margin-top: 0.5rem;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

nav a {
  text-decoration: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

nav a.active {
  background-color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   Main Content Area
   ======================================== */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ========================================
   Hero Section (index.html)
   ======================================== */

.hero-section {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  border-radius: 20px;
  margin-bottom: 3rem;
  background-image: url('dein-hintergrundbild.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 1rem 2rem;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 1.3rem;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(25px);}
  to {opacity: 1; transform: translateY(0);}
}

/* ========================================
   Sections
   ======================================== */

section {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

section h2 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  border-bottom: 3px solid var(--color-accent);
  padding-bottom: 0.5rem;
}

section h3 {
  color: var(--color-text);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* ========================================
   Typography
   ======================================== */

p, ul {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.intro {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

ul {
  list-style: none;
  padding-left: 1.5rem;
}

ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* ========================================
   Lists (index.html specific)
   ======================================== */

.equipment-list, .services-list {
  list-style: none;
  padding: 0;
}

.equipment-list li, .services-list li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  line-height: 1.7;
}

.equipment-list li:before {
  content: "⚙️";
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.services-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.4rem;
}

/* ========================================
   Steps Section (index.html)
   ======================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.step {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  border: 2px solid var(--color-border);
}

.step-number {
  background: var(--color-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

a.step-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

/* ========================================
   Image Slider (index.html)
   ======================================== */

#slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  margin: 2rem auto;
  max-width: 1100px;
  background-color: white;
}

#slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

#slider img.active {
  opacity: 1;
  z-index: 2;
}

/* ========================================
   Video Grid (index.html)
   ======================================== */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 1100px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ========================================
   Filament Grid (index.html)
   ======================================== */

.filament-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 2rem auto;
  max-width: 1100px;
}

.filament-grid img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Gallery Slider (index.html)
   ======================================== */

#slider-4 {
  position: relative;
  width: 100%;
  height: 700px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  margin: 2rem auto;
  max-width: 1100px;
  background-color: white;
}

#slider-4 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

#slider-4 img.active {
  opacity: 1;
  z-index: 2;
}

/* ========================================
   Buttons
   ======================================== */

.contact-button {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.contact-button:hover {
  background: var(--color-primary-hover);
}

/* ========================================
   Forms (contact.html)
   ======================================== */

label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: var(--color-accent);
}

/* ========================================
   Footer
   ======================================== */

footer {
  background: #2a2a2a;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
  nav a {
    padding: 0.85rem 1.5rem;
    font-size: 1.2rem;
  }

  .hero-section {
    height: 300px;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  section {
    padding: 1.5rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .filament-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #slider, .video-wrapper {
    height: 300px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  #slider-4 {
    height: 400px;
  }

  .header-content h1 {
    font-size: 2rem;
  }

  .header-icon {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0 1rem;
  }

  nav a {
    font-size: 1.4rem;
  }

  .hero-section {
    height: 250px;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  #slider, .video-wrapper {
    height: 250px;
  }

  #slider-4 {
    height: 300px;
  }

  .filament-grid img {
    height: 250px;
  }

  main {
    padding: 1rem;
  }

  .header-content h1 {
    font-size: 1.8rem;
  }

  .header-icon {
    font-size: 1.8rem;
  }
}

