/* -------------------------------------------------------
   MODAL BASIS
------------------------------------------------------- */

.bauart-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.35s ease;
}

.bauart-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.bauart-modal__overlay {
  position: absolute;
  inset: 0;
  background: #fff;
}

.bauart-modal__close {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 5;

  border: none;
  background: transparent;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

body.bauart-modal-open {
  overflow: hidden;
}


/* -------------------------------------------------------
   SPLIT LAYOUT
------------------------------------------------------- */

:root {
  --bauart-split-dark: #050708;
  --bauart-split-header: rgba(5, 15, 24, 0.93);
  --bauart-split-lime: #C0DE1A;
  --bauart-split-text-light: #ffffff;
  --bauart-split-text-dark: #111111;
}

/* Wrapper */
.bauart-split {
  position: relative;
  overflow: hidden;
  background: #000;
  color: var(--bauart-split-text-light);

  width: 100%;
  max-height: 100vh;
  overflow-y: auto;

  font-family: Gilroy;
}

/* Header */
.bauart-split__header {
  position: sticky;
  top: 0;
  z-index: 2;
}

.bauart-split__header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bauart-split-header);
  padding: 70px 24px 50px;
}

.bauart-split__logo {
  height: 85px;
  max-width: 90vw;
}

/* Grid */
.bauart-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Spalten */
.bauart-split__col {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.bauart-split__image-wrap {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.bauart-split__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Panel */
.bauart-split__panel {
  padding: 28px 40px;
}

.bauart-split__panel--dark {
  background: var(--bauart-split-dark);
}

.bauart-split__panel--lime {
  background: var(--bauart-split-lime);
  /*color: var(--bauart-split-text-dark);*/
}

/* Inhalt in Panels */
.bauart-split__panel-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

/*.bauart-split__panel-line {
  width: 2px;
  height: 80px;
  background: #d0a783;
}*/

.bauart-split__col--right .bauart-split__panel-line {
  display: none;
}

.bauart-split__panel-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Titel */
.bauart-split__title {
  font-size: clamp(1.8rem, 80px, 2.4vw);
  font-weight: 800;
  margin: 0;
}

/* Button */
.bauart-split__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;

  background: #ffffff;
  color: #111;
  border-radius: 2px;
  border: 1px solid #ffffff;

  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;

  letter-spacing: 0.08em;
  transition: transform 0.15s ease;
}

.bauart-split__btn--dark {
  background: #111;
  color: #fff;
  border-color: #111;
}

.bauart-split__btn:hover {
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 900px) {
  .bauart-split__grid {
    grid-template-columns: 1fr;
  }

  .bauart-split__image-wrap {
    aspect-ratio: 16/10;
  }

  .bauart-split__panel {
    padding: 20px 18px;
  }
}

@media (max-width: 600px) {
  .bauart-split__title {
    font-size: 1.5rem;
  }
}
