/* style_services.css
   Nur Services-spezifisch: Layout/Komponenten. Globales kommt aus style.css
*/

/* =========================
   Page Background (Services)
========================= */
.page.page-services{
  background-image: url("background_dunkel.png");
  background-repeat: repeat;          /* gewollt */
  background-position: center top;
  background-size: 100%;              /* entspricht deinem bisherigen Look */
}

/* Services ohne Schleier */
.page.page-services::before{
  background: transparent;
}

/* =========================
   Wrapper / Hero
========================= */
.services-wrapper{
  position: relative;
  width: min(1180px, 90%);
  margin: 0 auto;
  padding-top: 120px;
  padding-bottom: 120px;
  z-index: 2;
}

.services-hero{
  margin-bottom: 40px;
  max-width: 92ch;
}

.services-eyebrow{
  margin: 0 0 18px;
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  opacity: 0.6;
}

.services-title{
  margin: 0 0 22px;
  max-width: 14ch;                 /* kürzer, editorial */
  font-size: clamp(2.1rem, 3.2vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(235, 235, 235, 0.85);

  /* subtile Tiefe zum Hintergrund */
  text-shadow:
    0 1px 1px rgba(0,0,0,0.35),
    0 12px 30px rgba(0,0,0,0.45);
}


.services-lead{
  margin: 0;
  max-width: 78ch;
  font-size: 1.05rem;
  line-height: 1.85;
  opacity: 0.92;
}

/* =========================
   Services Liste
========================= */
.services-list{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-card{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(34px, 4vw, 72px);
  padding: clamp(70px, 7vw, 120px) 0;
  border: none;
  border-radius: 0;
  align-items: center;
}

.service-card--reverse{
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.service-card--reverse .service-media{ order: 2; }
.service-card--reverse .service-content{ order: 1; }

.service-card:not(:last-child){
  position: relative;
}
.service-card:not(:last-child)::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.14), transparent);
}

/* Media */
.service-media{
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: none;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 30px 90px rgba(0,0,0,0.40);
}

.service-media--img{
  text-decoration: none;
  transition: transform 0.18s ease;
  width: 100%;
  padding: 34px;
}

.service-media--img:hover{
  transform: translateY(-2px);
}

.service-media__img{
  width: min(460px, 100%);
  height: auto;
  display: block;
}

.service-media--img::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.10), transparent 55%);
  opacity: 0.8;
}

/* Text */
.service-content{ max-width: 64ch; }

.service-kicker{
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}

.service-title{
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 1.6vw, 1.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.service-text{
  margin: 0 0 18px;
  font-size: 1.02rem;
  line-height: 1.85;
  opacity: 0.92;
}

.service-bullets{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.service-bullets li{
  position: relative;
  padding-left: 18px;
  opacity: 0.9;
  line-height: 1.6;
}

.service-bullets li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.75;
}

/* =========================
   Ablauf / Timeline
========================= */
.services-flow{
  padding:0px 0 80px;
}


.flow-head{
  max-width: 86ch;
  margin-bottom: 44px;
}

.flow-eyebrow{
  margin: 0 0 12px;
  font-size: 1.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.75;
}

.flow-title{
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: #d5d1c8;
}

.flow-sub{
  margin: 0;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 78ch;
  color: rgba(235, 235, 235, 0.45);
}

.flow-schedule{
  position: relative;
  display: grid;
  gap: 42px;
  padding: 18px 0 90px;    /* Platz für Endpunkt */
  --endcap-bottom: 40px;   /* Position des Endpunkts */
}

/* zentrale Linie – endet am Endpunkt */
.flow-schedule::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: calc(var(--endcap-bottom) + 5px); /* 5px = halber Dot */
  width: 1px;
  background: rgba(255,255,255,0.16);
  transform: translateX(-0.5px);
  pointer-events: none;
}

.flow-item{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
  align-items: center;
}

.flow-mid{
  display: grid;
  place-items: center;
}

.flow-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(245,245,245,0.92);
  box-shadow: 0 0 0 10px rgba(255,255,255,0.05);
}

.flow-side{
  display: grid;
  gap: 10px;
}

.flow-side--left{
  justify-items: end;
  text-align: right;
  padding-right: 26px;
}

.flow-side--right{
  justify-items: start;
  text-align: left;
  padding-left: 26px;
}

.flow-kicker{
  font-size: 1.25rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}

.flow-time{
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  opacity: 0.65;
}

.flow-icon{
  width: 34px;
  height: 34px;
  opacity: 0.9;
}

.flow-icon svg{
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.flow-h{
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.flow-p{
  margin: 0;
  line-height: 1.75;
  opacity: 0.92;
  max-width: 62ch;
}

.flow-meta{
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  opacity: 0.65;
}

/* Endpunkt */
.flow-endcap{
  position: absolute;
  left: 50%;
  bottom: var(--endcap-bottom);
  transform: translateX(-50%);
  display: grid;
  place-items: center;
}

/* =========================
   CTA (unterhalb der Timeline)
========================= */
.flow-cta{
  margin-top: 36px;
  text-align: center;
  max-width: 86ch;
  margin-inline: auto;
}

.cta-title{
  margin: -45px 0 14px;
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: #d5d1c8;
}

.cta-text{
	margin-bottom: 25px;
	margin-top: 25px;
  color: rgba(235, 235, 235, 0.45);
  line-height: 1.85;
  opacity: 0.92;
}

.cta-button{
  display: inline-block;
  margin-top: 14px;
  padding: 12px 22px;
  border: 1px solid rgba(245,245,245,0.9);
  border-radius: 999px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover{
  color: #73746e;
  border-color: #73746e;
  transform: translateY(-1px);
}

/* =========================
   Responsive
========================= */

/* Tablet & kleiner */
@media (max-width: 980px){

  /* ---------- Services ---------- */
  .service-card,
  .service-card--reverse{
    grid-template-columns: 1fr;
    padding: 70px 0;
    gap: 28px;
  }

  .service-card--reverse .service-media{ order: 0; }
  .service-card--reverse .service-content{ order: 0; }

  .service-media--img{ padding: 26px; }
  .service-content{ max-width: 70ch; }

  /* ---------- Timeline ---------- */
  .flow-schedule::before{
    left: 14px;
    transform: none;
  }

  .flow-endcap{
    left: 14px;
    transform: none;
  }

  .flow-item{
    grid-template-columns: 28px 1fr;
    gap: 18px;
  }

  .flow-mid{ grid-column: 1; }

  .flow-side--left,
  .flow-side--right{
    grid-column: 2;
    padding: 0;
    text-align: left;
    justify-items: start;
  }

  .flow-item--right .flow-side--left{ order: 2; }
  .flow-item--right .flow-side--right{ order: 1; }

  /* ---------- CTA ---------- */
  .flow-cta{ margin-top: 32px; }
}

/* =========================
   Services Matrix Modern
========================= */
.services-matrix{
  padding: 60px 0 110px;
}

.services-matrix__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.services-matrix__col{
  min-width: 0;
}

.services-matrix__inner{
  height: 100%;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.services-matrix__inner:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.035);
  box-shadow: 0 18px 50px rgba(0,0,0,0.16);
}

.services-matrix__eyebrow{
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(235,235,235,0.45);
}

.services-matrix__title{
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.94);
}

.services-matrix__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.services-matrix__item{
  position: relative;
  padding: 12px 0 12px 18px;
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.45;
  color: rgba(235,235,235,0.84);
}

.services-matrix__item::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  
  background: rgba(255,255,255,0.42);
  transform: translateY(-50%);
}

/* Tablet */
@media (max-width: 980px){
  .services-matrix{
    padding: 20px 0 70px;
  }

  .services-matrix__grid{
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-matrix__col{
    padding: 0;
  }

  .services-matrix__col:not(:last-child)::after{
    display: none;
  }

  .services-matrix__col{
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }

  .services-matrix__col:last-child{
    padding-bottom: 0;
    border-bottom: none;
  }

  .services-matrix__title{
    text-align: left;
  }
}


/* Smartphone */
@media (max-width: 520px){

  .services-wrapper{
    width: 92%;
    padding-top: 70px;
    padding-bottom: 100px;
  }

  /* Headline etwas breiter, weniger Umbrüche */
  .services-title{
    max-width: 18ch;
    letter-spacing: 0.14em;
  }

  /* Media: weniger „Rahmen“, mehr Bild */
  .service-media{ border-radius: 14px; }
  .service-media--img{ padding: 18px; }
  .service-media__img{ width: 100%; }
}

/* =========================
   Services Matrix Modern
========================= */
.services-flow--intro{
  padding: 0 0 18px;
}

.services-flow--intro .flow-head{
  margin-bottom: 0;
  max-width: 72ch;
}

.services-flow--intro .flow-sub{
  max-width: 42ch;
}

.services-matrix{
  padding: 12px 0 110px;
}

.services-matrix__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.services-matrix__col{
  min-width: 0;
}

.services-matrix__inner{
  height: 100%;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.services-matrix__inner:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.035);
  box-shadow: 0 18px 50px rgba(0,0,0,0.16);
}

.services-matrix__eyebrow{
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(235,235,235,0.45);
}

.services-matrix__title{
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.94);
}

.services-matrix__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}


@media (max-width: 980px){
  .services-matrix{
    padding: 20px 0 70px;
  }

  .services-matrix__grid{
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-matrix__col{
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }

  .services-matrix__col:last-child{
    padding-bottom: 0;
    border-bottom: none;
  }

  .services-matrix__title{
    text-align: left;
  }
}

@media (max-width: 560px){
  .services-matrix__inner{
    padding: 22px 18px;
    border-radius: 18px;
  }

  .services-matrix__title{
    margin-bottom: 18px;
  }

  .services-matrix__item{
    padding: 10px 0 10px 16px;
  }
}