/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Design-Variablen */
:root {
  --primary: #ff6600;
  --primary-light: #ff9933;
  --text-light: #ffffff;
  --overlay-bg: rgba(0, 0, 0, 0.6);
  --highlight-bg: rgba(255, 255, 255, 0.08);
  --max-width: 1200px;
  --radius-lg: 1rem;
}

/* Global */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000 url('bauwagen-bg.jpg') no-repeat center center;
  background-size: cover;
  color: var(--text-light);
  min-height: 100vh;
}

/* Auf größeren Screens parallax / fixed erlauben */
@media (min-width: 1024px) {
  body {
    background-attachment: fixed;
  }
}

/* Gemeinsamer Overlay-Hintergrund */
.overlay {
  background-color: var(--overlay-bg);
  min-height: 100vh;
  width: 100%;
  padding: 3.5rem 1.5rem;
  display: flex;
  justify-content: center;
}

/* Inhalt im Overlay zentriert + max Breite */
.overlay-inner {
  max-width: var(--max-width);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.overlay-image {
  width: 220px;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0.75rem;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.4);
}

/* Typografie */
h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  max-width: 800px;
  line-height: 1.6;
  margin: 0 auto;
}

.highlight-box {
  margin-top: 1rem;
  background: var(--highlight-bg);
  backdrop-filter: blur(10px);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 700px;
  text-align: left;
}

.highlight-box h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: var(--primary-light);
}

.highlight-box p {
  margin-bottom: 1.25rem;
}

ul {
  list-style: none;
  padding-left: 0;
}

li {
  font-size: 1.05rem;
  margin: 0.45rem 0;
  position: relative;
  padding-left: 1.5rem;
}

li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
}

/* Call-to-Action Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background-color: var(--primary);
  color: #fff;
  padding: 0.8rem 1.6rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.1s ease, box-shadow 0.25s ease;
  font-size: 1rem;
}

.cta-button:hover,
.cta-button:focus-visible {
  background-color: #e65600;
  box-shadow: 0 0 14px rgba(229, 86, 0, 0.8);
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Hero */
.hero {
  background: url('bauwagen-bg.jpg') no-repeat center center;
  background-size: cover;
  min-height: 70vh;
  position: relative;
}

.hero-overlay {
  background-color: var(--overlay-bg);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.hero-content {
  color: #fff;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
}

/* Shisha-Überschrift / zweiter Header */
.main-header {
  min-height: 40vh;
  background: linear-gradient(to right, #111, #222);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem 1.5rem;
  border-bottom: 4px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.main-header h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  margin: 0;
  animation: fadeInUp 1s ease-out;
}

/* Shisha Feature Grid */
.feature-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
  margin: 0 auto 1rem auto;
  width: 100%;
}

.feature {
  text-align: center;
  color: #fff;
}

.feature img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0.7rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
  margin-bottom: 0.75rem;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 0 auto;
  max-width: 260px;
}

.feature li {
  font-size: 0.95rem;
  margin: 0.35rem 0;
  position: relative;
  padding-left: 1.3rem;
}

.feature li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .overlay {
    padding: 2.5rem 1.25rem;
  }

  .highlight-box {
    padding: 1.6rem 1.4rem;
  }

  .hero-overlay {
    padding: 2rem 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  p,
  li {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .overlay {
    padding: 2rem 1rem;
  }

  .overlay-image {
    width: 180px;
  }

  .highlight-box h2 {
    font-size: 1.5rem;
  }

  .feature img {
    height: 220px;
  }
}
