/* =====================================================
   СТИЛИ ТОЛЬКО ДЛЯ MAIN CONTENT (Design Page)
   ===================================================== */

/* 1) HERO-BANNER */
.design-hero-banner {
  min-height: 300px;
  background: url('/images/image_Design.webp') center/cover no-repeat;
}
/* 2) HERO-BANNER */
.engineering-hero-banner {
  min-height: 300px;
  background: url('/images/image_Engineering.webp') center/cover no-repeat;
}
/* 3) HERO-BANNER */
.product-hero-banner {
  min-height: 300px;
  background: url('/images/image_Produktentwicklung.webp') center/cover no-repeat;
}
/* 4) HERO-BANNER */
.konstruktion-hero-banner {
  min-height: 300px;
  background: url('/images/image_Konstruktion.webp') center/cover no-repeat;
}
/* 2) INTRO БЛОК */
.design-intro {
  padding: calc(var(--sec-y) - 12px) 0 var(--sec-y-sm);
}
.engineering-intro {
  padding: calc(var(--sec-y) - 12px) 0 var(--sec-y-sm);
}
.product-intro {
  padding: calc(var(--sec-y) - 12px) 0 var(--sec-y-sm);
}
@media (max-width: 640px) {
 /* 1) HERO-BANNER */
.design-hero-banner {
  min-height: 0;
}
/* 2) HERO-BANNER */
.engineering-hero-banner {
  min-height: 0;
}
/* 3) HERO-BANNER */
.product-hero-banner {
  min-height: 0;
}
/* 4) HERO-BANNER */
.konstruktion-hero-banner {
  min-height: 0;
}
}

.intro__title {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: var(--lh-tight);
  font-size: clamp(36px, 4.6vw, 64px);
  margin: 0.25rem 0 12px;
}

.intro__lead {
 
  font-size: var(--fz-md);
  line-height: var(--lh-comfy);
}

/* 3) ТЕКСТОВЫЙ БЛОК */
.design-text {
  padding: var(--sec-y-sm) 0 var(--sec-y);
}

.design-text__cols {
  columns: 1;
  column-gap: 40px;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 30px;
}

/* 4) СТАТИСТИКА */
.design-stats {
  padding: 72px 0 var(--sec-y);
  background-color: #f1f6f6;
}

.design-stats_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stat {
  padding: 6px 4px;
  text-align: center;
}

.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 3.4vw, 54px);
  color: var(--brand);
}

.stat__caption {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: var(--fz-xs);
  line-height: 1.6;
  max-width: 36ch;
}

/* 5) ПРОЕКТНЫЕ КАРТОЧКИ */
.news {
  --gap: 40px;
}

.news-grid {
  display: grid;
  gap: var(--gap);
}

.news-row {
  display: grid;
  gap: var(--gap);
}


.news-row.row-2 {
  grid-template-columns: 2fr 3fr;
}

.news-card {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
  border: 1px solid var(--border);
  display: block;
}

.news-card .thumb {
  position: relative;
  height: 564px;
  background: #dfe7fb;
}

.news-card.tall .thumb {
  height: 564px;
}

.news-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
}

.news-card .overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0.01) 25%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,1.88) 100%);
  color: #fff;
}

.news-card .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 9px;
  color: #fff;
}

.news-card .kickerhome {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 9px;
  color: white;
}
.news-card .title {
  margin: 10px 0 0;
  font-weight: 900;
  line-height: 1.3;
  font-size: clamp(18px, 1.8vw, 22px);
  transition: transform 0.22s ease;
}

.news-card .extra {
  margin-top: 8px;
  padding-right: 4px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.22s ease, max-height 0.22s ease;
}

.news-card .extra i {
  transition: transform 0.22s ease;
}

.news-card:hover .title {
  transform: translateY(-4px);
}

.news-card:hover .extra {
  opacity: 1;
  max-height: 96px;
}

.news-card:hover .extra i {
  transform: translateX(4px);
}

/* 6) KARRIERE СЕКЦИЯ */
/*.karrier {
  padding: 260px 0;
}  */

.invest-layout-karier {
  display: grid;
  grid-template-columns: 0.65fr 0.9fr;
  grid-auto-rows: 1fr;
  gap: 2rem;
  align-items: stretch;
  justify-items: normal;
}

.invest-layout-karier.invrel {
  min-height: 480px;
}

.invest-layout-karier.invrel .img {
  height: 480px;
}

.invest-left {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
}

.invest-right {
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
}

.invest-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.invest-layout-karier .img {
  height: 220px;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.invest-overlay {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  pointer-events: none;
  z-index: 3;
}

.invest-btn {
  justify-self: center;
  align-self: start;
  pointer-events: auto;
  padding: 11px 21px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  box-shadow: 0 6px 12px rgba(0,0,0,0.18);
  white-space: nowrap;
  font-size: 20px;
}

.invest-btn:hover,
.invest-btn:focus-visible {
  background: color-mix(in srgb, var(--brand) 88%, white 12%);
}
.invest-layout-heronew .invest-btn{margin-left: -220px;margin-top: 380px;      }     /* отступ от ВЕРХА */}

.invest-layout-heronew .img {
  height: auto;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.karier .invest-btn {
  margin-left: -220px;
  margin-top: 380px;
}

/*.karier .section-title {
  font-family: var(--font-head);
  font-weight: var(--w-bold);
  font-size: var(--fz-3xl);
  line-height: var(--lh-snug);
}*/
 section {
    padding: 70px 0 70px 0;
  }

/* =====================================================
   HOME MAIN CONTENT
   ===================================================== */
 .heronew {
    padding: 0px;
}
.invest-layout-heronew{
  display:grid;
  grid-template-columns: 0.65fr .9fr;
  grid-auto-rows: 1fr;
  gap:2rem;
    align-items: stretch;
  justify-items: normal;
}
/* ================================================
   NEWS SECTION
=================================================*/

.news {
  --gap: 40px;
}

.news-grid {
  display: grid;
  gap: var(--gap);
}

.news-row {
  display: grid;
  gap: var(--gap);
}

.news-row.row-1 {
  grid-template-columns: 3fr 2fr;
}

.news-row.row-2 {
  grid-template-columns: 2fr 3fr;
}

.news-card {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
  border: 1px solid var(--border);
  display: block;
}

.news-card .thumb {
  position: relative;
  height: 560px;
  background: #dfe7fb;
}

.news-card.tall .thumb {
  height: 560px;
}

.news-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  radius: 0px;
}

.news-card .overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 18px 16px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.01) 25%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 1.88) 100%
  );
  color: #fff;
}

.news-card .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0px;
}

.news-card .title {
  margin: 10px 0 0;
  transition: transform 0.22s ease;
}

.news-card .extra {
  margin-top: 8px;
  padding-right: 4px;
   line-height: 1.55;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.22s ease, max-height 0.22s ease;
}

.news-card .extra i {
  transition: transform 0.22s ease;
}

.news-card:hover .title {
  transform: translateY(-4px);
}

.news-card:hover .extra {
  opacity: 1;
  max-height: 96px;
}

.news-card:hover .extra i {
  transform: translateX(4px);
}

/* ================================================
   CTA BOX (используется в нескольких секциях)
=================================================*/
.heronew .cta-box.cta-box {
  /*display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  gap: 26px;*/
  align-items: center;
}

.heronew .cta-box .img {
  height: 220px;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.heronew .cta-box.cta-box .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-box .body {
  padding: 18px;
}

.cta-title {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 900;
  color: var(--brand);
}

.cta-box.invrel {
  min-height: 330px;
  text-align: left;
}

.cta-box.invrel .img {
  height: 330px;
}

.cta-box.invrel .body {
  padding: 0;
}

.cta-box.invrel .cta-title {
  margin: 0 0 10px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 0.5px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}



.karrier p {
  max-width: 380px;
}

.cta-box.mirror {
  grid-template-columns: 0.9fr 1.1fr;
}

.cta-box.mirror .img {
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
}

.cta-box.invrel.rect .img {
  clip-path: none;
}
/* ================================================
   SOLUTIONS SECTION
=================================================*/
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.sol-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  color: #fff;
  display: block;
}

.sol-card .bg {
  position: absolute;
  inset: 0;
  background: url("https://images.pexels.com/photos/2760242/pexels-photo-2760242.jpeg?auto=compress&cs=tinysrgb&w=1600")
    center/cover no-repeat;
}

.sol-card .content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 16px 16px;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 0%) 0%,
    rgb(0 0 0 / 43%) 50%,
    rgb(0 0 0) 100%
  );
}

.sol-card .title {
  font-weight: 900;
  font-size: 18px;
  margin: 0;
  transition: transform 0.22s ease;
}

.sol-card .desc {
  font-size: 16px;
  line-height: 1.55;
  margin-top: 8px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.22s ease, max-height 0.22s ease;
}

.sol-card:hover .title {
  transform: translateY(-6px);
}

.sol-card:hover .desc {
  opacity: 1;
  max-height: 88px;
}

.sol-card .chev {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
}
/* ================================================
   ABOUT SECTION
=================================================*/
.about {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 70px 0 70px 0;
   /* padding: 110px 0 130px 0;*/
  background-color: #f1f6f6;
}

.about .section-title {
  font-weight: 900;
}


/* ================================================
   INVESTOR SECTION
=================================================*/
/*.INVESTOR {
  padding: 10px 0;*}
  */

.karrier .section-title {
   font-family: var(--font-head);
  font-weight: 800; /* Heavy */
  font-size: var(--fs-h1)!important;
  line-height: var(--lh-h1);
}



/* ================================================
   INVEST LAYOUT (для новых секций)
=================================================*/
.invest-layout {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  grid-auto-rows: 1fr;
  gap: 2rem;
  align-items: stretch;
  justify-items: normal;
}

.invest-left {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
}

.invest-right {
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
}




.invest-btn {
  justify-self: center;
  align-self: center;
  pointer-events: auto;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  font-size: 20px;
  margin-top: -200px;
    margin-left: 570px;
}

.invest-btn:hover,
.invest-btn:focus-visible {
  background: color-mix(in srgb, var(--brand) 88%, white 12%);
}

/*.cta-box .invest-btn {
  margin-left: 350px;
}*/

/*.invest .invest-btn {
  margin-left: 350px;
  margin-top: -180px;
}*/

.karier .invest-btn {
  margin-left: -105px;
  margin-top: 335px;
}

.invest-layout-heronew .invest-btn {
  margin-left: -105px;
  margin-top: 380px;
}

.karier .section-title {
  font-family: var(--font-head);
  font-weight: var(--w-bold);
  font-size: var(--fz-3xl);
  line-height: var(--lh-snug);
}

.invest-layout-heronew .section-title {
  font-family: var(--font-head);
  font-weight: var(--w-bold);
  font-size: var(--fz-3xl);
  line-height: var(--lh-snug);
}

.invest-layout-karier {
  display: grid;
  grid-template-columns: 0.65fr 0.9fr;
  grid-auto-rows: 1fr;
  gap: 2rem;
  align-items: stretch;
  justify-items: normal;
}

.invest-layout-heronew {
  display: grid;
  grid-template-columns: 0.65fr 0.9fr;
  grid-auto-rows: 1fr;
  gap: 2rem;
  align-items: stretch;
  justify-items: normal;
}

.invest-layout-karier.invrel {
  min-height: 480px;
  text-align: left;
}

.invest-layout-karier.invrel .img {
  height: 480px;
}

.invest-layout-heronew.invrel {
  min-height: 480px;
}

.invest-layout-heronew.invrel .img {
  height: 480px;
}

/* ================================================
  KONTAKT
=================================================*/
@supports (align-self: end) {
.contact .cta-box.invest-layout-heronew .body.invest-left { align-self: end; }
}
.contact .cta-box.invest-layout-heronew { min-height: clamp(360px, 42vw, 560px); }
.contact {    padding: 0!important;}

@media (max-width: 980px) {
.contact .cta-box.invest-layout-heronew .body.invest-left { align-self: initial; }
}
/* ================================================
   kontakt
=================================================*/

.contact-form {
max-width: 480px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 1rem;
}
.contact-form label {
font-size: 0.9rem;
font-weight: 500;
}
.contact-form input,
.contact-form textarea {
width: 100%;
padding: 0.6rem 0.8rem;
border-radius: 4px;
border: 1px solid #ccc;
font: inherit;
box-sizing: border-box;
}
.contact-form textarea {
min-height: 140px;
resize: vertical;
}
.contact-form button {
align-self: flex-start;
padding: 0.7rem 1.6rem;
border-radius: 999px;
border: none;
cursor: pointer;
font-weight: 600;
font-size: 0.95rem;
background: #1a315f;
color: #fff;
}
.contact-form button:hover {
opacity: 0.92;
}
.hp-field {
position: absolute;
left: -9999px;
visibility: hidden;
}
/* ===== Shared layout for Projektbeispiele ===== */
.pb-5050{ display:grid; grid-template-columns:0.5fr 0.5fr; gap:clamp(22px,3vw,48px); align-items:center; }
.pb-text .section-title{ margin:6px 0 12px; }

/* Медиа-блок */
.pb-media{ position:relative; margin: 0;}
.pb-media img{ display:block; width:100%; height:auto; filter: drop-shadow(0 16px 36px rgba(0,0,0,.22)); }

/* Кнопка поверх изображения (берём .invest-btn.btn-ren из main.css и только позиционируем) */
.pb-cta{
  position:absolute; left:18px; bottom:14px;
  margin:0; /* переопределяем глобальные маргины invest-btn */        /* main.css has margins – override here */
}
 .proj-top .pb-cta{left:0; right: 20px;}


/* Вариант со скосом для первого блока */
.img-wedge-right{ clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%); overflow:hidden; }
.proj-top {        padding:  96px 0;}

/* Блок 2: серый фон + «свисание» вниз */
.proj-b2{ background:#f1f6f6; overflow:visible; padding: var(--sec-y-sm,48px) 0 var(--sec-y,96px); }
.pb-media--hang img{ margin-bottom: calc(-1 * clamp(22px,3.2vw,56px)); }

/* Блоки 3/4 фон */
.proj-b3{ background:#fff; padding: var(--sec-y,96px) 0; }
.proj-b4{ background:#f1f6f6; padding: var(--sec-y-sm,48px) 0 var(--sec-y,96px); }

/* ===== Mobile ===== */
@media (max-width: 768px){
.pb-5050{ grid-template-columns:1fr; gap:24px; }
}
@media (max-width: 1024px){
  
  .pb-media img{ width:100%; margin:0; filter: drop-shadow(0 10px 24px rgba(0,0,0,.18)); }
  .pb-cta{
    position:static; display:inline-flex;
    justify-content:center; align-items:center;
    margin:12px auto 0; /* по центру */
  }
  .pb-media--hang img{ margin-bottom:0; } /* не «свисаем» на мобиле */
}
@media (min-width: 1520px) {
  .proj-top .container {
     max-width: 100%; 
  }
}
  .proj-top .container {
     max-width: 100%; 
  }
/* ================================================
  АДАПТИВНОСТЬ ДЛЯ MAIN CONTENT
=================================================*/
@media (max-width: 1200px) {
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .design-hero-banner {
    min-height: 44vh;
  }
 
  .news-card .thumb {
    height: 260px;
  }
 
  .news-card.tall .thumb {
    height: 300px;
  }
    .hero {
    min-height: 460px;
  }

  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-box .img {
    clip-path: none;
  }

  .cta-box.invrel .img {
    height: 320px;
  }
 .invest-btn {
    margin-left: 0;
	margin-top: 0;
  }
}


@media (max-width: 980px) {
  .heronew {
    padding: 40px 0;
  }

  section {
    padding: 90px 0 90px 0;
  }
 
    /*  .INVESTOR {
    padding: 0;
  }*/

}

@media (max-width: 768px) {
	.invest-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

 
  .invest-layout-heronew {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .invest-btn {
    margin-left: 0;
	margin-top: 0;
  }

 

  .invest-layout-karier {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
 
   
  .invest-overlay {
    display: contents;
  }

  .karier .invest-btn {
    margin-left: 0;
    margin-top: 0;
    align-self: center;
  }

  
  .karrier {
    padding: 50px 0;
  }
  
  .design-stats_grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .hero {
    min-height: 460px;
  }
  
   .news-row.row-1,
  .news-row.row-2 {
    grid-template-columns: 1fr !important;
  }
  

   .invest-layout-heronew .invest-btn {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }
  
.sol-card {
    height: 310px;
}
  .news-card .thumb {
    height: 260px;
  }
  
  .news-card.tall .thumb {
    height: 300px;
  }
  
  .cta-box {
    grid-template-columns: 1fr;
  }
  
  .cta-box .img {
    clip-path: none;
  }
  
  .cta-box.invrel .img {
    height: 320px;
  }
  /*  .INVESTOR {
    padding: 0;
  }*/

}
@media (max-width: 640px) {
  .design-intro {
    padding: 36px 0 28px;
  }
  
  .design-text {
    padding: 28px 0 36px;
  }
    .solutions-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Shared layout for Projektbeispiele ===== */
.pb-5050{ display:grid; grid-template-columns:0.5fr 0.5fr; gap:clamp(22px,3vw,48px); align-items:center; }
.pb-text .section-title{ margin:6px 0 12px; }

/* Медиа-блок */
.pb-media{ position:relative; margin: 0;}
.pb-media img{ display:block; height:auto; filter: drop-shadow(0 16px 36px rgba(0,0,0,.22)); }

/* Кнопка поверх изображения (берём .invest-btn.btn-ren из main.css и только позиционируем) */
.pb-cta{
  position:absolute; left:18px; bottom:14px;
  margin:0; /* переопределяем глобальные маргины invest-btn */        /* main.css has margins – override here */
}
 .proj-top .pb-cta{left:0; right: 20px;}


/* Вариант со скосом для первого блока */
.img-wedge-right{ clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%); overflow:hidden; }
.proj-top {        padding:  0 0 96px  0;}

/* Блок 2: серый фон + «свисание» вниз */
.proj-b2{ background:#f1f6f6; overflow:visible; padding: var(--sec-y-sm,48px) 0 var(--sec-y,96px); }
.pb-media--hang img{ margin-bottom: calc(-1 * clamp(22px,3.2vw,56px)); }
.proj-b2 .pb-media--hang img{ margin: 10px 10px 10px 250px; width: 400px; }

/* Блоки 3/4 фон */
.proj-b3{ background:#fff; padding: var(--sec-y,96px) 0; }
.proj-b4{ background:#f1f6f6; padding: var(--sec-y-sm,48px) 0 var(--sec-y,96px); }

/* ===== Mobile ===== */
@media (max-width: 1024px){
  .pb-5050{ grid-template-columns:1fr; gap:24px; }
  .pb-media img{ width:100%; margin:0; filter: drop-shadow(0 10px 24px rgba(0,0,0,.18)); }
  .pb-cta{
    position:static; display:inline-flex;
    justify-content:center; align-items:center;
    margin:12px auto 0; /* по центру */
  }
  .pb-media--hang img{ margin-bottom:0; } /* не «свисаем» на мобиле */
}
@media (min-width: 1520px) {
  .proj-top .container {
     max-width: 100%; 
  }
}
  .proj-top .container {
     max-width: 100%; 
  }
  
  /* ================================================
   UEBER UNS: VISION / BRANDING MANIFEST
   Main section styles
   ================================================= */
/* =====================================================
   UEBER UNS – HERO (BOLTCAD VISION / BRANDING MANIFEST)
   ===================================================== */

.vision-hero {
  padding: 0px 0 80px;
}

/* убираем правый паддинг контейнера в hero,
   чтобы картинка дошла до края макета */
.vision-hero > .container {
  padding-right: 0;
}

/* Мобильная версия: текст сверху, картинка под ним */
.vision-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.vision-hero-text .section-title {
  margin-top: 6px;
      margin-bottom: 0;
}

.vision-hero-media {
  position: relative;
  margin-top: 8px;
}

.vision-hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* DESKTOP: две колонки, текст и картинка по нижнему краю */
@media (min-width: 992px) {
  .vision-hero {
    padding-top: 00px;
    padding-bottom: 30px;
  }

  .vision-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr); /* текст / картинка */
    column-gap: 48px;
    align-items: flex-end;             /* выравниваем по нижнему краю */
  }

  .vision-hero-text {
    align-self: flex-end;
    padding-bottom: 10px;              /* небольшой оптический отступ */
  }

  /* фиксированная высота hero-картинки,
     чтобы на больших экранах не увеличивалась по высоте */
  .vision-hero-media {
    height: 360px;
    margin-top: 0;
    overflow: visible;  
	/* даём картинке выходить за рамки колонки */
  }

  .vision-hero-media img {
    height: 100%;
    width: 120%;                       /* делаем шире колонки */
    max-width: none;
    object-fit: cover;

    /* ТВОЙ клип-шейп, как в макете */
    clip-path: polygon(10% 0%, 100% 0, 100% 100%, 0 100%);

    /* немного сдвигаем влево, чтобы правый край вышел за контейнер
       и дошёл до края макета */
    transform: translateX(-12%);
  }
}
/* МОБИЛЬНАЯ ВЕРСИЯ: картинка во всю ширину figure */
@media (max-width: 991px) {
  .vision-hero-media {
    width: 100%;
    margin: 24px 0 0;      /* при желании: убрать/изменить отступы */
    height: auto;
    overflow: visible;
  }

  .vision-hero-media img {
    width: 100%;
    height: auto;
    max-width: 100%;
    clip-path: none;       /* убираем диагональный срез, если не нужен на мобиле */
    transform: none;       /* убираем сдвиг */
    object-fit: cover;
    display: block;
  }
}

/* при очень больших экранах высоту можно чуть поднимать (опционально) */
@media (min-width: 1400px) {
  .vision-hero-media {
    height: 380px; /* при желании можно оставить 360px */
  }
}




/* 2) Manifest-Blöcke: IDEE / MISSION / WARUM */
.vision-manifest {
  padding: 40px 0 60px;
}


.vision-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  gap: 40px;
  padding: 10px 0;

}
@media (max-width: 899px) {
  .vision-row {
    display: block; /* или flex/column, как тебе нужно */
  }
}
.vision-row-label .kicker1 {
  letter-spacing: 0.08em;
}



.vision-row-content p + p {
  margin-top: 12px;
}

/* WARUM – graue Box mit Aufzählung */
.vision-why-box {
  margin: 20px 0;
  padding: 18px 24px;
  background-color: #f5f7fb;
}

.vision-why-list {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.vision-why-list li {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

/* 3) Vollbreite-Fotos zwischen den Blöcken */
//* ===== УДАЛИТЕ ИЛИ ЗАКОММЕНТИРУЙТЕ СТАРЫЕ СТИЛИ ===== */

/* Мобильные устройства - отключаем параллакс */
@media (max-width: 768px) {
  .vision-photo--team,
  .vision-photo--desk {
    background-attachment: scroll !important; /* Отключаем fixed */
    background-position: center center !important;
    background-size: cover !important;
  }
  
  .vision-photo {
    height: 250px !important; /* Опционально: меньше высота на мобильных */
  }
}

/* Специальный фикс для iOS (iPhone, iPad) */
@supports (-webkit-touch-callout: none) {
  .vision-photo--team,
  .vision-photo--desk {
    background-attachment: scroll !important;
  }
}

/* Дополнительный фикс для iOS через User Agent */
@supports (-webkit-overflow-scrolling: touch) {
  .vision-photo--team,
  .vision-photo--desk {
    background-attachment: scroll !important;
  }
}
/* ===== НОВЫЕ СТИЛИ ПАРАЛЛАКСА ===== */
.vision-photo {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  margin: 60px 0;
}


.vision-photo--team {
  background-image: url('/images/image_UBERUNS_BackgroundSlider_01.webp');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
    padding: 80x 0 80px 0;
}

.vision-photo--desk {
  background-image: url('/images/image_UBERUNS_BackgroundSlider_02.webp');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
    padding: 80px 0 80px 0;
}

/* Скрываем img теги если остались */
.vision-photo img {
  display: none;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .vision-photo {
    height: 350px;
  }
  
  .vision-us-signature {

  text-align: right;
}
  .vision-photo--team,
  .vision-photo--desk {
    background-attachment: scroll;
  }
}
/* Wenn Layout full-width benötigt:
.vision-photo {
  width: 100vw;
  margin: 40px 0;
  margin-left: 50%;
  transform: translateX(-50%);
}
*/

/* 4) UNSERE METHODE / UNSER PRODUKT */
.vision-method,
.vision-product {
  padding: 10px 0 10px;
}

.vision-row--reverse {
  /* auf Desktop Content links, Label rechts wie im Layout */
}

@media (min-width: 900px) {
  .vision-row--reverse {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 0.9fr);
  }

  .vision-row--reverse .vision-row-label {
    order: 2;
    text-align: right;
  }

  .vision-row--reverse .vision-row-content {
    order: 1;
  }
}

/* Highlight-Box für Product Sprint */
.vision-product-highlight {
  margin: 20px 0;
  padding: 18px 24px;
  background-color: #f5f7fb;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 4.1fr);

}
.vision-manifest
.vision-product-highlight {
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);

}
/* 5) DAS SIND WIR */
.vision-us {
  padding: 40px 0 80px;
}

.vision-row--us .lead {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
}

.vision-us-signature {
  margin-top: 24px;
  text-align: center;
}

   