
/* 1. BASE & TYPOGRAPHY */

body {
  background-color: #121212;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

h6 {
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  padding-left: 1.8rem;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Light.woff2') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Regular.woff2') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-SemiBold.woff2') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

  /* --- Navigation & Menu --- */
  
  .navbar {
    position: fixed;
    top: 3rem;
    right: 3rem;
    z-index: 100000;
    margin-bottom: -5em !important;
  }
  
  .navbar-brand {
    font-weight: 800;
  }
  
  .hamburger {
    width: 65px;
    height: 60px;
    background: #121212;
    border-radius: 8px;
    padding: 17px;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  
  .bar {
    width: 30px;
    height: 5px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #111111;
    transform: translateY(-100%); /* Initialer Zustand */
    overflow: hidden;
    z-index: 10000;
    display: none; /* Initial unsichtbar */
  }
  
  .menu-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .menu-body a {
    color: white;
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    font-weight: 800;
    text-decoration: none;
    margin: 1rem;
    opacity: 0;
    transform: translateY(20px);
  }
  
  .menu-body a.show-link {
    opacity: 1;
    transform: translateY(0);
  }

/* Footer */

.footer {
  position: relative;
  background-color: #121212;
  color: #fff;
  z-index: 100;
  height: 200px;
  padding-top: 4em;
}

.footer-item {
  margin-bottom: 50px;
}

footer h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

footer p {
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.6;
  color: #ccc;
}

.footer-links {
  margin-top: 20px;
}

.footer-links a {
  margin: 0 10px;
  color: #aaa;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-btn {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 1.6rem 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-right: 3rem;
}

.footer-btn:hover {
  background-color: #fff;
  color: #111;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  gap: 1.2rem;
}

.footer-social a {
  color: #fff;
  font-size: 3rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #ccc;
}

/* Global Containers & Overrides */

.inner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-fluid {
  padding: 0 !important;
}

/* Preloader */

#intro-animation {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #121212;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #dce1eb;
  overflow: hidden;
}

.intro-text {
  max-width: 80%;
  font-size: clamp(1.5rem, 3vw, 4rem);
  line-height: 1.5;
  font-weight: bold;
  opacity: 0;
}

.intro-line {
  display: block;
  margin-bottom: 0.5rem;
}

.intro-line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
}

.white-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #121212;
  z-index: 5000;
}

/* --- Lottie Background --- */

#lottie-background {
  display: flex;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 1;
}

/* --- Hero Section --- */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #121212;
  overflow: visible;
  padding: 3em;
  z-index: 1000;
}

.reveal-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  font-size: clamp(2.5rem, 5vw, 4rem);
  will-change: opacity, transform;
  font-weight: bold;
}

/* Text Columns */

.column-title {
  font-size: clamp(2.5rem, 3vw, 2.5rem);
}

.column-text {
  font-size: clamp(1.5rem, 1.5vw, 2.5rem);
}

/* "Über Uns" Split Text */

.split {
  opacity: 0;
  text-align: center;
  font-size: clamp(2rem, 6rem, 3vw);
  letter-spacing: 0.05rem;
  will-change: transform;
  color: #0e100f;
}

.split * {
  will-change: transform;
}

/* Horizontale Scroll-Sektion */

.horizontal-scroll-section {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.horizontal-wrapper {
  display: flex;
  flex-direction: row;
  width: max-content;
  height: 100vh;
  margin: 0;
  padding: 0;
  will-change: transform;
}

.panel {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  gap: 2rem;
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  z-index: 10;
  box-sizing: border-box;
  flex: 0 0 100vw;
  width: 100vw;
}

.pin-spacer {
  width: 100vw;
  height: 100vh;
}

.panel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
}

.panel-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  font-weight: bold;
}

.panel-content p {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: #ccc;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.panel-text {
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  max-width: 600px;
  text-align: center;
}

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: rgba(255, 255, 255, 0.53);
  color: #111;
  padding: 0.5rem 2rem;
  border-radius: 999px;
  font-size: 1rem;
  white-space: nowrap;
  margin-bottom: 0.5rem;
  margin-right: 0.5rem;
}

.panel:nth-child(1),
.panel:nth-child(2),
.panel:nth-child(3),
.panel:nth-child(4) {
  background-color: transparent;
}

#panel-1 { background-image: url('/loewe.webp'); }
#panel-2 { background-image: url('/blechmann.webp'); }
#panel-3 { background-image: url('/strohmann.webp'); }
#panel-4 { background-image: url('/oz.webp'); }

.panel-image {
  margin-right: 10rem;
}

/* Optimierung für Mobile */

@media (max-width: 768px) {
  .panel {
    flex-direction: column;
    padding: 3rem;
    background-size: 100%;
    background-position: bottom;
  }

  .panel:nth-child(1),
  .panel:nth-child(2),
  .panel:nth-child(3),
  .panel:nth-child(4) {
    padding: 3rem;
  }

  .panel-image {
    width: 100%;
    height: 40vh;
    margin-bottom: 1rem;
    margin-right: 0;
  }

  .panel-content {
    align-items: flex-start;
  }
}

/* Touch-Optimierung */

.horizontal-scroll-section,
.horizontal-wrapper,
.panel {
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.container.mb-5 {
  max-width: none;
  padding: 0;
}

model-viewer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* 3D Model Viewer */

model-viewer {
  width: 100%;
  height: 500px;
  z-index: -1;
  position: fixed;
  top: 25vh;
}

/* Color Transition Sections */

.color-transition-section{
  transition: background-color 1s ease, color 1s ease;
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: block;
  visibility: visible;
  opacity: 1;
}

.service-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #DCE1EB;
  color: #121212;
  border: 1px solid #121212;
  border-radius: 0;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
}

.service-button[aria-pressed="true"] {
  background-color: white;
  color: #171717;
  border-color: white;
}

.service-button input[type="checkbox"] {
  display: none;
}

#form-box-kontakt {
  z-index: 0;
  opacity: 0; 
}

#form-box-kontakt.visible {
  opacity: 1; 
}

/* FORM */

#form-container {
  height: 100vh;
  background: #121212;
  display: flex;
  align-items: center;
  justify-content: center;
    min-height: calc(var(--vh, 1vh) * 100);
  }
  
#form-box-kontakt {
  border-radius: 16px;
  padding: 2rem;
  max-width: 650px;
}

.form-label {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: bold;
  margin-bottom: 2rem;
  line-height: 1.2;
  display: block;
}

.form-control,
textarea {
  margin: 1rem 0 2rem 0;
  line-height: 2.5;
  background-color: #DCE1EB;
  border-color: #121212;
  border-radius: 35px;
  padding-left: 20px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.service-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  font-size: 1rem;
}

.service-button[aria-pressed="true"],
.service-buttons input[type="checkbox"]:checked + .service-button {
  background-color: white;
  color: #171717;
  border-color: white;
}

/* Hover nur für Desktop */

@media (hover: hover) and (pointer: fine) {
  .service-button:hover {
    background-color: #121212;
    color: #DCE1EB;
  }
}

input[type="checkbox"][name="services[]"] {
  position: absolute;
  opacity: 0; 
  width: 1px;
  height: 1px;
  top: 0;
  left: 0;
}

.custom-next-btn,
.custom-submit-btn {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1.6rem 3rem;
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 999px;
  background-color: #DCE1EB;
  color: #121212;
  border: 1px solid #121212;
  touch-action: manipulation; 
  -webkit-tap-highlight-color: transparent; 
}

@media (hover: hover) and (pointer: fine) {
  .custom-next-btn:hover {
    background-color: #121212;
    color: #DCE1EB;
  }
}

.custom-submit-btn {
  background-color: #00cc88;
  color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
  .custom-submit-btn:hover {
    background-color: #009966;
  }
}

.consent-checkbox {
  padding-bottom: 35px;
}

/* cookiebanner */

#CybotCookiebotDialog {
  font-family: Arial, sans-serif;
  z-index: 1000;
}

#CybotCookiebotDialog .CybotCookiebotDialogBody {
  background-color: #fff;
  color: #121212;
  border: 1px solid #dce1eb;
}

#CybotCookiebotDialog .CybotCookiebotDialogBodyButton {
  background-color: #121212;
  color: #fff;
}

#CybotCookiebotDialog .CybotCookiebotDialogBodyLink {
  color: #121212;
  text-decoration: underline;
}



.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col-6 {
  width: 50%;
}

.col-md-12 {
  width: 100%;
}

@media (max-width: 768px) {
  .col-6 {
    width: 100%;
  }
}

.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}


