/* ── ARBEITEN EINZEL PAGE ── */
/* Requires: ../main.css */

section {
  padding: 60px var(--gutter);
  width: 100%;
  /* min-height: calc(100vh - 91px - 80px); */
}

/* ── HERO ── */
.hero-section {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 40px;
  gap: 60px;
}

.hero-img-cont {
  flex: 1 1 50%;
  min-width: 0;
}

.hero-img {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  display: block;
}

.slide-content {
  flex: 1 1 50%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide-letter-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin-left: 16px;
  vertical-align: middle;
  flex-shrink: 0;
}

.slide-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 28px;
}

.slide-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1.0;
  flex: 1;
  word-break: break-word;
  overflow-wrap: break-word;
}

.slide-description {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--dark);
  max-width: 520px;
  margin-bottom: 36px;
}

/* ── IMAGE GRID ── */
.img-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.img-grid img {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 0;
  /* aspect-ratio: 1 / 1; */
  object-fit: cover;
  display: block;
}

/* ── TEXT SECTION ── */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.text-section h2 {
  width: 100%;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.2;
}

.text-section div {
  display: flex;
  flex-direction: row;
  gap: 50px;
}

.text-section p {
  flex: 1 1 50%;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--dark);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  section {
    padding: 20px 20px;
  }

  .hero-section {
    flex-direction: column;
    padding: 0 0 32px 0;
    gap: 0;
  }

  .hero-img-cont {
    flex: none;
    width: 100%;
    padding: 0 20px;
  }

  .slide-content {
    flex: none;
    width: 100%;
    padding: 20px 20px 0;
  }

  .slide-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .slide-title-row {
    margin-bottom: 16px;
    align-items: center;
  }

  .slide-letter-badge {
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 0.85rem;
    margin-left: 12px;
    align-self: flex-start;
    margin-top: 4px;
  }

  .slide-description {
    font-size: 0.78rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .img-grid {
    gap: 16px;
    margin-bottom: 16px;
  }

  .img-grid img {
    flex: 1 1 100%;
  }

  .text-section div {
    flex-direction: column;
    gap: 20px;
  }
}
