/* Motorenentwicklung — matches live oct-marine.com/entwicklung layout */

.oct-dev-page {
  position: relative;
  padding: clamp(168px, 19vh, 220px) var(--edge) clamp(90px, 10vh, 120px);
}

.oct-dev-page__shell {
  width: min(var(--max), calc(100% - var(--edge) * 2));
  margin-inline: auto;
}

/* ── Page header (uses shared .oct-sub-* from subpage.css) ── */
.oct-dev-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* ── Hero image with yellow accent frame ── */
.oct-dev-photo {
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
}

.oct-dev-photo__frame {
  margin-right: 26px;
  margin-bottom: 26px;
  padding: 26px 0 0 26px;
  border: 2px solid;
  border-width: 2px;
  border-image-slice: 2;
  border-image-source: linear-gradient(45deg, rgba(255, 226, 0, 0.7) 0%, rgba(255, 226, 0, 0) 90%);
}

.oct-dev-photo__frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Two-column body ── */
.oct-dev-body {
  position: relative;
  isolation: isolate;
}

.oct-dev-body__wm {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../img/werkzeug.png") 42% 38% / clamp(180px, 22vw, 320px) no-repeat;
  opacity: 0.07;
  filter: grayscale(1);
}

.oct-dev-columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.oct-dev-side__title {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.oct-dev-side__rule {
  display: block;
  width: 71px;
  height: 4px;
  margin: 11px 0 0;
  background: #ffe200;
}

.oct-dev-copy {
  padding-left: clamp(0px, 3vw, 62px);
  color: rgb(192, 189, 184);
}

.oct-dev-copy__block + .oct-dev-copy__block {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.oct-dev-copy__heading {
  margin: 0 0 0.85rem;
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #fff;
}

.oct-dev-copy p {
  margin: 0 0 1rem;
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 400;
  line-height: 1.66;
  color: rgb(192, 189, 184);
}

.oct-dev-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .oct-dev-columns {
    grid-template-columns: 1fr;
  }

  .oct-dev-copy {
    padding-left: 0;
  }

  .oct-dev-body__wm {
    background-position: 50% 20%;
    opacity: 0.05;
  }

  .oct-dev-photo__frame {
    margin-right: 16px;
    margin-bottom: 16px;
    padding: 16px 0 0 16px;
  }
}
