/* === ÜBERSCHRIFT DES DOKUMENTS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  color:#333;
  background: #fdfdfd;
  line-height: 1.6;
}

/* === KOPFZEILE === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 10px 1rem;
}

.logo {
  height: 150px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 24px;
}

nav a {
  text-decoration: none;
  color: #339933;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #1f7a1f;   /* etwas dunkler bei Hover */
}

/* === HELDENBEREICH === */
.hero {
  text-align: center;
  animation: fadeIn 1s ease-in-out;
  padding: 3rem 1rem 2rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #339933;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: bolder;
}

.hero p {
  font-size: 1.2rem;
}

/* === GALERIE === */
.gallery {
  display: grid;
  grid-template-columns:repeat(3,1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.gallery a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery a:hover img {
  transform: scale(1.08);
}

/* === 3D-KARUSSELL (DREIDIMENSIONALE ANSICHT) === */
#carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px; 
  perspective: 1000px; 
  transform-style: preserve-3d;
  overflow: visible;
}

#drag-container,
#spin-container {
  position: relative;
  display: flex;
  margin: auto;
  transform-style: preserve-3d;
  transform: rotateX(-10deg);
  width: 100%;
  max-width: 1000px;
  height: 600px;
}

#drag-container a {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  border: 6px solid #339933;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

#drag-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  filter: grayscale(40%) contrast(0.9);
  transition: filter 0.3s, transform 0.3s;
}

#drag-container a:hover img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.03);
}

#ground {
  width: 1200px; 
  height: 1200px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(90deg);
  background: radial-gradient(ellipse, rgba(0,0,0,0.15), transparent 70%);
}

@keyframes spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* === SLIDER === */
.slider-wrapper {
  position: relative;
  max-width: 960px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* === PFEILE DES SLIDERS === */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #339933;
  border: none;
  font-size: 40px;
  padding: 5px 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
}

.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

/* === TEXTBOXEN === */
.text-boxes {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

/* === MÖBEL-PROTOTYPEN === */
.moebel-prototypen {
  padding: 2rem;
  background-color: #f9f9f9;
  color: #222;
  font-size: 1.05rem;
  line-height: 1.7;
}

.moebel-prototypen .container {
  max-width: 960px;
  margin: 0 auto;
}

.moebel-prototypen h1,
.moebel-prototypen h2 {
  color: #339933;
  margin: 1.5em 0 0.5em;
}

.moebel-prototypen ul {
  list-style: disc;
  margin-left: 1.5em;
}

/* === KONTAKTFORM === */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  background: #f0f0f0;
  color: #333;
}

/* === FUSSZEILE === */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #666;
  margin-top: 5rem;
}

/* === ANIMATION FADEIN === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVES DESIGN === */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    display: none;
  }
  .page-title {
    text-align: center;
  }
}

/* === SWIPER === */
.swiper {
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;
  overflow: hidden;
  position: relative;
}

/* === SWIPER PFEILE === */
.swiper-button-next,
.swiper-button-prev {
  color: #339933 !important;
}

/* === SWIPER PUNKTE (PAGINATION) === */
.swiper-pagination-bullet {
  background-color: #339933 !important;
  opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
  background-color: #339933 !important;
  opacity: 1 !important;
}

/* === TOGGLE (MENÜSCHALTFLÄCHE) === */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #339933;
  margin: 4px 0;
  transition: 0.3s;
}

/* === HAUPTMENÜ === */
.nav-list {
  display: flex;
  list-style: none;
}

/* === BURGER-MENÜ (VERSTECKT FÜR DESKTOP) UND MOBILE VERSION === */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-list {
    position: absolute;
    top: 70px;
    right: 0;
    width: 70%;
    flex-direction: column;
    display: none;
    background: white;
    padding: 20px 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  .nav-list.active {
    display: flex;
  }
}

/* === HEXAGON-FOTOS === */
.hexagon-photo {
  font-size: 1em;
  position: relative;
  height: 37em;    
  width: 39em;
  margin: 20px auto;
  background-image: radial-gradient(circle, #337AB7 0%, #337AB7 70%, transparent 70%, transparent 100%), radial-gradient(circle, #BFE2FF 0%, #BFE2FF 70%, transparent 70%, transparent 100%), radial-gradient(circle, #BFE2FF 0%, #BFE2FF 70%, transparent 70%, transparent 100%);
  background-repeat: no-repeat;
  background-size: 20em 20em, 15em 15em, 12em 12em;
  background-position: 5em 5em, 20em 10em, 11em 25em;
}
