* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body{
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  background: #162333;
}

/* =========================
   TOPBAR / NAV
========================= */
.topbar{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.topbar__inner{
  width: min(1200px, 92%);
  margin: 0 auto;
  height: 65px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: 10px;
}

.brand{ justify-self: start; }
.brand img{ height: 60px; display: block; }

.topnav{
  justify-self: center;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 26px);
}

.topnav__link{
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  
  color: #10294a;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 0 6px;

  opacity: 0.55;
  transition: transform 240ms ease, opacity 180ms ease;
}

.topnav__link:hover{
  opacity: 1;
  transform: scale(1.04);
}

.topnav__link.is-active{ opacity: 1; }

.topnav__link.is-active::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: #162333;
  border-radius: 3px;
}

.topbar__right{
  justify-self: end;
  display: flex;
  align-items: center;
}

.burger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 4px;

  border: 1px solid rgba(11,30,51,0.16);
  background: rgba(11, 30, 51, 0.075);
  box-shadow: 0 0px 12px rgba(0,0,0,0.08);

  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;

  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  color: #162333;
}

.burger:hover{
  transform: translateY(-1px);
  background: rgba(11,30,51,0.10);
  border-color: rgba(11,30,51,0.26);
}

.burger__icon{
  width: 22px;
  height: 22px;
  display: block;
}

.burger__icon--close{ display: none; }

html.menu-open .burger__icon--menu{ display: none; }
html.menu-open .burger__icon--close{ display: block; }

.mobile-menu{
  position: absolute;
  left: 0;
  right: 0;
  top: 65px;
  background: rgb(225, 225, 225);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.mobile-menu__nav{
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu__link{
  color: #10294a;
  text-decoration: none;
  font-weight: 650;
  font-size: 16px;
  padding: 12px 10px;
  border-radius: 5px;
  background: rgba(11, 30, 51, 0);
}

.mobile-menu__link.is-active{
  background: rgba(11, 30, 51, 0.057);
}

.menu-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.121);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

html.menu-open .mobile-menu{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

html.menu-open .menu-backdrop{
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   HERO / VIDEO
========================= */
.hero{
  position: relative;
  height: 30vh;
  min-height: 220px;
  max-height: 320px;
  overflow: hidden;
  --video-scale: 1;
}

.hero__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(var(--video-scale));
}

.hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.12) 55%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

/* =========================
   AFTER HERO + CARDS
========================= */
.after-hero{
  background: #162333;
  padding: 0 0 80px 0;
}

.cards{
  width: min(1400px, 95%);
  margin: -100px auto 60px auto;

  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: clamp(15px, 2vw, 30px);

  align-items: stretch;

  margin-top: -100px;
  margin-bottom: 45px;
}

.card{
  background: transparent;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);

  display: flex;
  flex-direction: column;

  height: 100%;

  transition:
    transform .3s ease,
    box-shadow .3s ease;

  min-height: 400px;
}

.card:hover{
  transform: translateY(-8px);

  box-shadow:
    0 28px 60px rgba(0,0,0,.35);
}

.about__lines{
  display:flex;
  gap:6px;
  margin-top: -30px;
}

.about__lines span{
  width:45px;
  height:2px;
}

.about__lines span:nth-child(1){
  background:#10294a;
}

.about__lines span:nth-child(2){
  background:#39755a ;
}

.about__lines span:nth-child(3){
  background:#cab133;
}

.about__lines span:nth-child(4){
  background: #f67327;
}

.about__lines span:nth-child(5){
  background: #b82827;
}

.card__top__gruebel,
.card__top__solar,
.card__top__east,
.card__top__ps{
  background: #fff;
  height: 85px;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.card__logo{
  display: block;
  height: auto;
  transition: transform 220ms ease, filter 220ms ease;
  transform-origin: center;
}

.card__logo.card__logo__solar { width: 230px; max-width: none; max-height: none; }
.card__logo.card__logo__east  { width: 200px; max-width: none; max-height: none; }
.card__logo.card__logo__gruebel{ width:150px; max-width:none; max-height:none; }
.card__logo.card__logo__ps{ width:230px; max-width:none; max-height:none; }

.card__body{
  display: flex;
  flex-direction: column;
  flex: 1; 
  padding: 10px 12px 12px;
}

.card__body p{
  margin: 0;

  padding: 8px;

  font-size: 15px;
  line-height: 1.4;


  color: rgba(255,255,255,.95);

  text-align: justify;
  text-justify: inter-word;

  hyphens: auto;
  word-break: normal;
  overflow-wrap: break-word;

  letter-spacing: .015em;
}

.card--green  .card__body{ background: #39755a; }
.card--yellow .card__body{ background: #cab133; }
.card--red    .card__body{ background: #b82827; }
.card--orange .card__body{ background: #f67327; }

.btn{
  margin-top: auto;
  display: inline-block;
  text-align: center;
  padding: 10px 12px;
  color: #fff;

  text-decoration: underline;
  text-underline-offset: 4px;

  font-size: clamp(16px, 2vw, 20px);
  border: none;
  background: transparent;
  cursor: pointer;

  transition: transform 240ms ease, opacity 180ms ease;
}

.btn:hover{
  opacity: 0.9;
  transform: scale(1.04);
}

.card__logo.is-hovered{
  transform: scale(1.04);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.18));
}

.card.card--reveal{
  opacity: 0;
  transform: translateY(40px);
  transition:
    transform 700ms cubic-bezier(.2,.8,.2,1),
    opacity 700ms ease;
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity;
}

.cards .card:nth-child(1){
  --delay: 0ms;
}

.cards .card:nth-child(2){
  --delay: 150ms;
}

.cards .card:nth-child(3){
  --delay: 300ms;
}

.cards .card:nth-child(4){
  --delay: 450ms;
}

.card.card--reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.card.card--reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.about {
  padding-bottom: 20px;
}

.about__container {
  width: min(1400px, 95%);
  margin: 0 auto;
  background: white;
  color: #162333;
  padding: 25px;

  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;

  grid-template-columns: minmax(250px, 300px)
                         minmax(600px, 1fr)
                         minmax(250px, 300px);
}

.about__left {
  grid-column: 1;
}

.about__left h2 {
  margin-top: 0;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: #10294a;
}

.about__p_left {
  color: #10294a;
}

.about__left p,
.about__feature p{
  font-size: 13px;
  line-height: 1.4;
  margin-top: 10px;
}

.about__features-wrapper {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
}

.about__feature {
  border-left: 1px solid #d7d7d7;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  justify-content: flex-start;
}

.about__feature h3 {
  font-size: 15px;
  color: #10294a;
  margin-bottom: 10px;
  margin-top: 15px;
}

.about__p_right {
  color: black;
  margin-top: 10px !important;
}

.about__image {
  grid-column: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  border-radius: 4px;
}

.about__icon {
  width: 40px;
  height: auto;
  margin-bottom: 10px;
}

.about__icon img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

footer{
    background:#fff;
    padding:30px 15px;
    text-align:center;
    border-top:1px solid #ddd;
    margin-top:auto;
}

.logo-container{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.logo-link{
    width:70px;
    height:70px;
    border-radius:50%;
    overflow:hidden;
    display:block;
    transition:transform 0.3s ease;
}

.logo-link:hover{
    transform:scale(1.1);
}

.logo-link img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 600px){
    .logo-link{
        width:55px;
        height:55px;
    }

    .logo-container{
        gap:12px;
    }
}

@media (max-width: 900px) {
  .about__features-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .about__container {
    grid-template-columns: 1fr; 
    gap: 40px;
  }

  .about__left {
    grid-column: 1;
  }

  .about__features-wrapper {
    grid-column: 1;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .about__feature {
    border-left: none;
    border-top: 1px solid #d7d7d7;
    padding-left: 0;
    padding-top: 20px;
  }

  .about__image {
    grid-column: 1;
    order: 3; 
  }

  .about__image img {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .about__container {
    padding: 25px 20px;
  }

  .about__features-wrapper {
    grid-template-columns: 1fr; 
    gap: 30px;
  }

  .about__lines {
    margin-top: -15px;
  }
}

@media (min-width: 1200px) and (max-height: 900px){
  .hero{
    height: 24vh;
    min-height: 180px;
  }

  .card{
    min-height: 260px;
  }

  .card__body p{
    font-size: 12px;
    line-height: 1.3;
  }

  .about__image img{
    max-width: 220px;
  }

  .about__left h2{
    font-size: 34px;
  }
}

@media (max-width: 1200px){
  .cards{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px){
  .cards{
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce){
  .card.card--reveal{
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 700px){
  .cards .card:nth-child(1){
    --delay: 0ms;
  }

  .cards .card:nth-child(2){
    --delay: 100ms;
  }

  .cards .card:nth-child(3){
    --delay: 200ms;
  }

  .cards .card:nth-child(4){
    --delay: 300ms;
  }
}

@media (max-width: 900px){
  .hero {
   --video-scale: 1.35;
   height: clamp(200px, 48vh, 360px); 
  }
}

@media (max-width: 900px){
  .topnav{ display: none; }
  .burger{ display: inline-flex; }
  .brand img{ height: 30px; }
  .topbar__inner{ grid-template-columns: auto 1fr auto; }
}





.job-modal{
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(5,10,20,.75);
  backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;
  transition: .35s ease;
  z-index: 9999;
}

.job-modal.active{
  opacity: 1;
  visibility: visible;
}

/* MAIN SHEET */
.job-modal__content{
  width: min(950px, 92%);
  background: radial-gradient(circle at top, #13243a, #0b1623);

  border-radius: 22px;
  position: relative;
  padding: 32px;

  border: 1px solid rgba(255, 60, 60, .25);
  box-shadow:
    0 30px 120px rgba(0,0,0,.65),
    inset 0 0 60px rgba(255,60,60,.06);

  transform: translateY(20px);
  transition: .35s ease;
}

.job-modal.active .job-modal__content{
  transform: translateY(0);
}

/* CLOSE */
.job-modal__close{
  position: absolute;
  top: 16px;
  right: 16px;

  width: 42px;
  height: 42px;

  border-radius: 12px;
  border: 1px solid rgba(255,60,60,.4);

  background: rgba(255,60,60,.08);
  color: #ff3b3b;

  cursor: pointer;
  font-size: 18px;
  transition: .2s;
}

.job-modal__close:hover{
  background: #ff3b3b;
  color: white;
  transform: rotate(90deg);
}

/* HEADER */
.job-hero{
  margin-bottom: 18px;
}

.job-tag{
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;

  padding: 6px 12px;
  border-radius: 999px;

  background: rgba(255,60,60,.12);
  border: 1px solid rgba(255,60,60,.35);
  color: #ff4b4b;
}

.job-hero h2{
  font-size: 32px;
  margin: 10px 0 5px;
}

.job-hero p{
  opacity: .7;
}

/* META */
.job-meta{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;

  margin: 18px 0 26px;
}

.job-meta div{
  font-size: 13px;
  opacity: .85;

  padding: 8px 12px;
  border-radius: 999px;

  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}

.job-meta i{
  margin-right: 6px;
  color: #ff3b3b;
}

/* GRID */
.job-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.job-box{
  padding: 18px;
  border-radius: 16px;

  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);

  transition: .25s ease;
}

.job-box:hover{
  transform: translateY(-3px);
  border-color: rgba(255,60,60,.25);
}

.job-box h3{
  margin-top: 0;
  font-size: 15px;
  color: #ff3b3b;
}

.job-box p,
.job-box li{
  opacity: .85;
  line-height: 1.6;
}

.job-box ul{
  padding-left: 18px;
}

/* HIGHLIGHT */
.job-box--accent{
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(255,60,60,.12), rgba(255,255,255,.02));
  border: 1px solid rgba(255,60,60,.25);
}

/* FOOTER */
.job-footer{
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.apply-btn{
  background: linear-gradient(135deg, #ff3b3b, #c40000);
  border: none;
  color: white;

  padding: 12px 18px;
  border-radius: 12px;

  font-weight: 600;
  cursor: pointer;

  transition: .2s;
}

.apply-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,60,60,.25);
}

/* RESPONSIVE */
@media (max-width: 800px){
  .job-grid{
    grid-template-columns: 1fr;
  }

  .job-box--accent{
    grid-column: auto;
  }

  .job-footer{
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* DOWNLOAD BUTTON */

.hero-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
    margin-top:30px;
    flex-wrap:wrap;
}


.download-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    padding:15px 28px;

    min-height:52px;

    border-radius:18px;

    text-decoration:none;

    color:white;

    font-weight:700;

    letter-spacing:.3px;

    background:
    linear-gradient(
        135deg,
        rgba(255,77,77,.95),
        rgba(255,46,99,.95)
    );

    border:1px solid rgba(255,255,255,.18);

    box-shadow:
    0 10px 30px rgba(255,77,77,.25),
    inset 0 1px 0 rgba(255,255,255,.25);

    position:relative;

    overflow:hidden;

    transition:
    transform .3s ease,
    box-shadow .3s ease,
    filter .3s ease;

}


/* Glanz-Effekt */

.download-btn::before{

    content:"";

    position:absolute;

    top:0;
    left:-120%;

    width:80%;
    height:100%;

    background:
    linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );

    transform:skewX(-20deg);

    transition:.6s;

}


.download-btn:hover::before{

    left:140%;

}


.download-btn:hover{

    transform:translateY(-4px);

    box-shadow:
    0 18px 40px rgba(255,77,77,.4),
    inset 0 1px 0 rgba(255,255,255,.35);

    filter:brightness(1.1);

}


.download-btn i{

    font-size:18px;

}



/* Tablet */

@media(max-width:900px){

    .hero-bottom{

        flex-direction:column;

        align-items:stretch;

    }


    .download-btn{

        width:100%;

    }

}


/* Kleine Smartphones */

@media(max-width:480px){

    .download-btn{

        padding:14px 18px;

        font-size:.9rem;

        border-radius:15px;

    }


    .download-btn i{

        font-size:16px;

    }

}