/* =========================================================
   LEISTUNGEN PAGE
========================================================= */

.leistungen-hero .hero-content {
  max-width: 980px;
}

.leistungen-hero .lead {
  max-width: 760px;
}

.leistungen-hero-actions {
  margin-top: 32px;
}

.leistungen-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.leistungen-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .065);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.25;
  backdrop-filter: blur(14px);
  overflow-wrap: anywhere;
}

.leistungen-hero-points span::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--accent2);
  font-weight: 900;
}


/* =========================================================
   TEXT WIDTH CONTROL
========================================================= */

.section-head-narrow p {
  max-width: 520px;
}

.leistungen-intro {
  position: relative;
  z-index: 3;
  margin-top: -44px;
}

.intro-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
  padding: 36px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.intro-panel h2 {
  max-width: 620px;
}

.intro-text {
  display: grid;
  gap: 16px;
}

.intro-text p {
  max-width: 680px;
}


/* =========================================================
   SERVICE DIRECTORY
========================================================= */

.service-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.directory-card {
  position: relative;
  min-width: 0;
  min-height: 470px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
  isolation: isolate;
  transition: .25s ease;
}

.directory-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  transition: .7s ease;
}

.directory-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 179, 71, .18), transparent 34%),
    linear-gradient(0deg, rgba(15, 17, 20, .97), rgba(15, 17, 20, .5), rgba(15, 17, 20, .2));
}

.directory-card:hover {
  border-color: rgba(255, 179, 71, .28);
}

.directory-card:hover img {
  transform: scale(1.06);
}

.directory-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  padding: 26px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(15, 17, 20, .58), rgba(15, 17, 20, .88));
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(13px);
  overflow: hidden;
}

.directory-card .badge {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 16px 0;
  padding: 9px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .16);
  white-space: normal;
  overflow-wrap: anywhere;
}

.directory-content h3 {
  max-width: 100%;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1.08;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.directory-content p {
  max-width: 560px;
  color: rgba(245, 241, 232, .82);
  overflow-wrap: anywhere;
}

.directory-content ul {
  display: grid;
  gap: 8px;
  max-width: 100%;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.directory-content li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(245, 241, 232, .8);
  font-size: .94rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.directory-content li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--accent2);
  font-weight: 900;
}


/* =========================================================
   DECISION GRID
========================================================= */

.decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.decision-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .055);
  transition: .25s ease;
}

.decision-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -76px;
  top: -76px;
  border-radius: 999px;
  background: rgba(255, 179, 71, .12);
  pointer-events: none;
}

.decision-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 179, 71, .24);
}

.decision-card .num {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent2);
  font-weight: 900;
  letter-spacing: .08em;
}

.decision-card h3 {
  margin-bottom: 12px;
}

.decision-card p {
  font-size: .95rem;
}


/* =========================================================
   OBJECT GRID
========================================================= */

.object-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.object-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .04));
  transition: .25s ease;
}

.object-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 179, 71, .22);
}

.object-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(217, 122, 18, .26), rgba(255, 179, 71, .13));
  border: 1px solid rgba(255, 179, 71, .22);
  color: var(--accent2);
  font-size: 1.2rem;
}

.object-card h3 {
  margin-bottom: 12px;
}

.object-card p {
  max-width: 520px;
}


/* =========================================================
   APPROACH PANEL
========================================================= */

.approach-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 24px;
  align-items: stretch;
}

.approach-content,
.approach-box {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .04));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .2);
}

.approach-content::after,
.approach-box::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -120px;
  top: -120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 179, 71, .13), transparent 68%);
  pointer-events: none;
}

.approach-content > *,
.approach-box > * {
  position: relative;
  z-index: 1;
}

.approach-content h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.approach-content p {
  max-width: 720px;
}

.approach-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.approach-list span {
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 15px;
  border-radius: 17px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.45;
}

.approach-list span::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--accent2);
  font-weight: 900;
}

.approach-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(217, 122, 18, .18), rgba(255, 255, 255, .055));
  border-color: rgba(255, 179, 71, .22);
}

.approach-box h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}

.approach-box p {
  margin-bottom: 24px;
}


/* =========================================================
   CTA
========================================================= */

.leistungen-cta h2 {
  max-width: 780px;
  margin-bottom: 16px;
}

.leistungen-cta p {
  max-width: 680px;
}


/* =========================================================
   RESPONSIVE — DESKTOP SMALL
========================================================= */

@media (max-width: 1180px) {
  .directory-card {
    min-height: 440px;
    padding: 22px;
  }

  .directory-content {
    padding: 24px;
  }

  .decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach-panel {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 980px) {
  .leistungen-intro {
    margin-top: -34px;
  }

  .intro-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px;
  }

  .service-directory {
    grid-template-columns: 1fr;
  }

  .directory-card {
    min-height: 420px;
  }

  .object-grid {
    grid-template-columns: 1fr;
  }

  .approach-list {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   RESPONSIVE — SMALL TABLET / LARGE MOBILE
========================================================= */

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

  .leistungen-hero-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .leistungen-hero-points span {
    width: 100%;
  }

  .directory-card {
    min-height: 400px;
  }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 620px) {
  .leistungen-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .leistungen-hero-actions .btn {
    width: 100%;
  }

  .leistungen-intro {
    margin-top: -28px;
  }

  .intro-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .directory-card {
    min-height: auto;
    padding: 14px;
    border-radius: 24px;
  }

  .directory-card::before {
    background:
      radial-gradient(circle at 18% 18%, rgba(255, 179, 71, .16), transparent 34%),
      linear-gradient(0deg, rgba(15, 17, 20, .98), rgba(15, 17, 20, .68), rgba(15, 17, 20, .32));
  }

  .directory-content {
    padding: 22px;
    border-radius: 20px;
  }

  .directory-card .badge {
    margin-bottom: 14px;
    font-size: .8rem;
  }

  .directory-content h3 {
    font-size: 1.35rem;
  }

  .directory-content p,
  .directory-content li {
    font-size: .92rem;
  }

  .decision-card,
  .object-card,
  .approach-content,
  .approach-box {
    padding: 22px;
    border-radius: 22px;
  }

  .decision-card .num {
    margin-bottom: 20px;
  }

  .object-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
  }

  .approach-box h3 {
    font-size: 1.32rem;
  }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
  .intro-panel,
  .decision-card,
  .object-card,
  .approach-content,
  .approach-box {
    padding: 19px;
  }

  .directory-card {
    padding: 10px;
    border-radius: 22px;
  }

  .directory-content {
    padding: 19px;
    border-radius: 18px;
  }

  .directory-card .badge {
    padding: 8px 10px;
    font-size: .76rem;
  }

  .directory-content h3 {
    font-size: 1.22rem;
  }

  .directory-content ul {
    margin-top: 14px;
  }

  .leistungen-hero-points span {
    font-size: .84rem;
  }
}


/* =========================================================
   RESPONSIVE — EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 360px) {
  .intro-panel,
  .decision-card,
  .object-card,
  .approach-content,
  .approach-box {
    padding: 17px;
  }

  .directory-card {
    padding: 8px;
  }

  .directory-content {
    padding: 17px;
  }

  .directory-content h3 {
    font-size: 1.15rem;
  }

  .directory-content p,
  .directory-content li {
    font-size: .88rem;
  }
}

/* =========================================================
   MOBILE SERVICE DIRECTORY — IMAGE ABOVE CONTENT
========================================================= */

@media (max-width: 620px) {
  .directory-card {
    display: grid;
    grid-template-rows: 220px auto;
    min-height: 0;
    padding: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, .055);
  }

  .directory-card img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 220px;
    object-fit: cover;
    z-index: 1;
    border-radius: 24px 24px 0 0;
  }

  .directory-card::before {
    display: none;
  }

  .directory-card:hover img {
    transform: none;
  }

  .directory-content {
    position: relative;
    z-index: 2;
    padding: 22px;
    border-radius: 0 0 24px 24px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .04));
    border: 0;
    border-top: 1px solid var(--line);
    backdrop-filter: none;
  }

  .directory-card .badge {
    margin-bottom: 14px;
  }

  .directory-content h3 {
    font-size: 1.35rem;
    line-height: 1.12;
  }

  .directory-content p,
  .directory-content li {
    font-size: .92rem;
  }
}


@media (max-width: 420px) {
  .directory-card {
    grid-template-rows: 190px auto;
    border-radius: 22px;
  }

  .directory-card img {
    height: 190px;
    border-radius: 22px 22px 0 0;
  }

  .directory-content {
    padding: 19px;
    border-radius: 0 0 22px 22px;
  }

  .directory-content h3 {
    font-size: 1.22rem;
  }
}


@media (max-width: 360px) {
  .directory-card {
    grid-template-rows: 170px auto;
  }

  .directory-card img {
    height: 170px;
  }

  .directory-content {
    padding: 17px;
  }
}

/* =========================================================
   MOBILE SERVICE DIRECTORY — MORE SPACE ABOVE BADGE
========================================================= */

@media (max-width: 620px) {
  .directory-content {
    padding-top: 30px;
  }

  .directory-card .badge {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media (max-width: 420px) {
  .directory-content {
    padding-top: 27px;
  }
}

@media (max-width: 360px) {
  .directory-content {
    padding-top: 25px;
  }
}
.approach-note{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.approach-note span{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
  color:var(--muted);
  font-size:.88rem;
  line-height:1.2;
}