.fls-preview-leistungen {
  --studio-width: min(1320px, calc(100% - clamp(28px, 6.25vw, 96px)));
  --leistungen-linie: #ffffff26;
  --leistungen-akzent: #ecabb5;
}

.fls-preview-leistungen main {
  padding-top: clamp(100px, 10vw, 146px);
  background: #121016;
}

.leistungsauftakt,
.leistungspraxis,
.leistungsfragen {
  width: var(--studio-width);
  margin-inline: auto;
}

#was-wir-machen,
#leistungen-waehlen,
#website-und-grafik {
  scroll-margin-top: 100px;
}

.leistungsauftakt {
  padding: clamp(16px, 3.2vw, 48px);
  border: 1px solid var(--leistungen-linie);
  border-radius: 12px;
  background: linear-gradient(125deg, #29242e, #1e1a23 82%);
}

.leistungsauftakt h1,
.leistungspraxis h2 {
  margin: 0 0 .6rem;
  font-weight: 600;
  letter-spacing: -.035em;
}

.leistungsauftakt header p { max-width: 65ch; }
.leistungskarten {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.25vw, 18px);
  margin-top: clamp(18px, 3vw, 36px);
}

.leistungskarte {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--leistungen-linie);
  border-radius: 8px;
  background: #221d27;
  box-shadow: 0 9px 18px #0a07122e;
}

.leistungskarte:hover,
.leistungsfragen a:hover { border-color: var(--leistungen-akzent); }

.leistungskartenbild {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a171d;
}

.leistungskartenbild > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leistungskartenbild-foto > img { object-position: 50% 34%; }
.leistungskartenbild-film > img { object-position: 50% 55%; }
.leistungskartenbild-grafik > img { object-fit: contain; padding: 7px; }
.leistungskartenbild-web {
  position: relative;
  display: block;
  padding: 15% 16% 10% 8%;
  background: linear-gradient(#1d18286b, #1d1828b5), url("/wp-content/themes/fastlife-premium-white/fls-20261113/assets/0b48f781d8-bau-buero.webp") center / cover;
}
.leistungskartenbild-web > img {
  position: static;
  height: auto;
  border: 1px solid #ffffff38;
  border-radius: 5px;
  box-shadow: 0 8px 18px #0008;
}
.leistungskartenbild-web > img + img {
  position: absolute;
  inset: auto 8% 8% auto;
  width: 23%;
}

.leistungskartentext { display: grid; gap: .4rem; padding: clamp(12px, 1.4vw, 20px); line-height: 1.45; }
.leistungskartentext strong,
.leistungsfragen strong { display: flex; justify-content: space-between; gap: .55rem; color: #fff; font-size: 1.18rem; line-height: 1.2; }
.leistungskartentext strong span,
.leistungsfragen strong span { color: var(--leistungen-akzent); }
.leistungskartentext > span,
.leistungsfragen a > span { color: #e0d9e3; }

.leistungspraxis {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 70px);
  align-items: center;
  margin-block: clamp(36px, 6vw, 84px) clamp(36px, 6vw, 84px);
  padding: clamp(16px, 3.2vw, 48px);
  border: 1px solid var(--leistungen-linie);
  border-radius: 12px;
  background: radial-gradient(ellipse at 80% 25%, #303033, #161618 75%);
}
.leistungspraxis h2 { margin-top: .65rem; }
.leistungspraxis img { height: auto; border: 1px solid var(--leistungen-linie); border-radius: 8px; }

.leistungslink {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  margin-top: .5rem;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.leistungsfragen {
  margin-block: clamp(16px, 2vw, 24px) 0;
}
.leistungsauftakt .leistungsfragen { width: 100%; }
.leistungsfragen-kontakt { margin-block: clamp(24px, 4vw, 44px); }
.leistungsfragen a {
  display: grid;
  gap: .4rem;
  padding: 16px 20px;
  border: 1px solid var(--leistungen-linie);
  border-radius: 8px;
  background: #1e1a23;
}

/* Das Banner-Markup nutzt die gemeinsamen Regeln aus Unterhalb_Hero.css. */
.fls-preview-leistungen .fls-angebotsbanner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(32px, 5vw, 72px) 0;
  color: #fff;
}
.fls-preview-leistungen .fls-banner-text h2 {
  max-width: 18ch;
  margin: .55rem 0 .72rem;
  font-size: clamp(2.1rem, 4.4vw, 4.1rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.034em;
  text-wrap: balance;
}
.fls-preview-leistungen .fls-banner-text p { max-width: 46ch; color: #f1e9ed !important; }

.cta-section.leistungskontakt {
  padding: 0 0 clamp(48px, 7vw, 98px);
  background: #121016;
}
.leistungskontakt::before { display: none; }
.leistungskontakt > .container {
  width: var(--studio-width);
  max-width: none;
}
.leistungskontakt .fls-home-contact {
  max-width: none;
  gap: clamp(20px, 5vw, 72px);
  padding: clamp(23px, 4.1vw, 58px);
  border: 1px solid #d28c9c60;
  border-radius: 12px;
  background: linear-gradient(126deg, #55212c, #29171c 75%);
}
.leistungskontakt .cta-copy .label { color: #ffcbd3; }
.leistungskontakt .cta-copy h2 { color: #fff4f5; }
.leistungskontakt p { color: #f0dfe6 !important; }
.leistungskontakt .btn-primary {
  border-radius: 6px;
  background: #f2f2f3;
  color: #531c2b !important;
}
.leistungskontakt .btn-primary:hover { background: #fff; }
.fls-home-contact-links > div { display: flex; flex-wrap: wrap; gap: 0 1rem; margin-top: .4rem; }
.fls-home-contact-links > div a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #fff4f5;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 930px) {
  .leistungskontakt .fls-home-contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1000px) {
  .leistungskarten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .leistungskarten,
  .leistungspraxis { grid-template-columns: minmax(0, 1fr); }
  .leistungskartenbild { aspect-ratio: 16 / 9; }
  .leistungskartenbild-web { padding-top: 7%; }
}
