/* === Basis-Reset === */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* === Wrapper um alles === */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === HEADER === */
#main-header {
  background: white;
  width: 100%;
  height: 140px; /* etwas schmaler */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

#main-header .header-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

/* Logo links */
#main-header .logo {
  margin-right: auto;
}

#main-header .logo img {
  height: 120px; /* angepasst an niedrigeren Header */
  width: auto;
}

/* Navigation mittig im Viewport */
#main-header nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 25px;
  align-items: center;
  white-space: nowrap;
}

#main-header nav a {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

#main-header nav a:hover {
  color: #0078d4;
}

/* === FOOTER === */
footer, #site-footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

#site-footer {
  font-size: 0.9rem;
  color: #ccc;
}

/* === HAUPT-CONTAINER === */
.container {
  flex: 1;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1400px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* === BILDBEREICH === */
.preview {
  flex: 1;
  padding: 40px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === MOCKUP-CONTAINER === */
.mockup {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 3/4;
  background: #fafafa;
  border-radius: 8px;
  overflow: hidden;
}

/* === GENERIERTES BILD === */
.mockup img.generated {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* === RECHTER BEREICH === */
.options {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.options h1 {
  margin-top: 0;
  font-size: 1.8rem;
}

.option-group {
  margin-bottom: 30px;
}

.option-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

select, input {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}

.price-box {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  width: 100%;
  padding: 15px;
  background: #0071e3;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background: #005bb5;
}

/* === RESPONSIVE ANPASSUNG === */
@media (max-width: 900px) {
  #main-header {
    height: auto;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }

  #main-header .logo img {
    height: 90px;
  }

  #main-header nav {
    position: static;
    transform: none;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .container {
    flex-wrap: wrap;
  }

  .preview,
  .options {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .mockup {
    max-width: 90%;
  }
}


