/* ===== Farben ===== */
:root {
  --violett-dark: #6a509d;
  --violett-mid: #927db8;
  --violett-light: #cabfdf;
  --text-light: #ffffff;
  --text-dark: #2e1a47;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  scroll-behavior: smooth;
}

/* ===== Navigation ===== */
header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  background: var(--violett-dark);
  padding: 1rem 2rem;
  display: flex;
  justify-content: flex-end;
  z-index: 1000;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  align-content: center;
}

nav a:hover {
  color: var(--violett-light);
}

.logo-btn img {
  height: 35px;
  width: auto;
}

section {
  padding: 0 0 80px;
  min-height: 100vh;
}

/* ===== Hero ===== */
#home {
  background: url('header.jpg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
}

#home h1 {
  font-size: 3rem;
  margin: 0;
}

#home p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* ===== Layout für Sektionen ===== */
.content,
.content.reverse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 800px;
  background-size: 650px;
  background-repeat: no-repeat;
}

.content {
  background-image: url('splash_1.jpg');
  background-position: right center;
  padding: 80px 0px 120px;
}

.content.reverse {
  background-image: url('splash_2.jpg');
  background-position: left center;
}

.text {
  color: var(--text-light);
  padding: 20px;
}

.right {
  text-align: right;
  margin-right: 2rem;
}

.left {
  text-align: left;
  margin-left: 2rem;
  color: var(--text-dark);
}

/* ===== Carousel (Triple-Slot) ===== */
.carousel {
  position: relative;
  width: 50%;
  max-width: 650px;
  height: 650px;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
  border-radius: 10px;
}

#carousel-3Ddesign {
  position: absolute;
  right: 6%;
}

#carousel-about {
  position: absolute;
  right: 6%;
}

.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
  opacity: 0;
  transform: scale(1.02);
}

/* sichtbare Zustände */
.carousel img.current {
  opacity: 1;
  z-index: 3;
  transform: scale(1);
}

.carousel img.prev,
.carousel img.next {
  opacity: 0.6;
  z-index: 2;
  filter: blur(2px) brightness(0.8);
}

/* ===== Buttons (unsichtbar, aber klickbar) ===== */
.carousel .carousel-buttons {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.carousel .carousel-buttons button {
  pointer-events: auto;
  background: transparent;
  border: none;
  color: var(--violett-light);
  font-size: 2rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.carousel:hover .carousel-buttons button {
  color: var(--violett-dark);
}

/* ===== Dots Navigation ===== */
.carousel .dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.carousel .dot.active {
  background: var(--violett-dark);
  transform: scale(1.25);
}

/* ===== Footer ===== */
footer {
  color: var(--text-dark);
  padding: 2rem;
  text-align: center;
}
hr {
  border-width: 0.5px;
  border-color: #6a509d;
}
#about 


footer p {
  margin: 0.3rem 0;
}

/* ===== Responsive ===== */
@media (max-width: 1350px) {
  #home h1 {
    font-size: 2rem;
  }

  nav {
    gap: 1rem;
  }

  .content,
  .content.reverse {
    flex-direction: column;
    justify-content: start;
    height: 1600px !important;
    position: relative;
    box-sizing: border-box;
    background-position: right bottom;

  }

   .content {
      background-position: right bottom;
  }

    .content.reverse {
      background-position: left bottom;
  }

  .carousel {
    width: 600px;
    height: 600px;
    margin-bottom: 300px;
  }

  #carousel-3Ddesign {
    position: relative;
    right: 0%;
}

  #carousel-about {
    position: relative;
    right: 0%;
}

  .text {
    width: 90%;
    margin: 20px 0;
  }

  footer {
    font-size: 0.75rem;
}
}
@media (max-width: 599px) {
   #home h1 {
    font-size: 2rem;
  }

header {
  padding: 1rem 1rem;
}
  nav {
    gap: 0.8rem;
  }

  .content,
  .content.reverse {
    flex-direction: column;
    justify-content: start;
    height: 1600px !important;
    position: relative;
    box-sizing: border-box;
    background-position: right bottom;

  }

   .content {
      background-position: right bottom;
  }

    .content.reverse {
      background-position: left bottom;
  }

  .carousel {
    width: 350px;
    height: 350px;
    margin-bottom: 550px;
  }

  #carousel-3Ddesign {
    position: relative;
    right: 0%;
}

  #carousel-about {
    position: relative;
    right: 0%;
}

  .text {
    width: 90%;
    margin: 20px 0;
    font-size: 0.8rem;
  }

  footer {
    font-size: 0.65rem;
}

