/* Abweichungen der App-Leistungsseite gegenueber websiteski/websites.css */

.apps-landing-page .website-hero h1 {
  max-width: 980px;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
}

/* Einheitliche, etwas ruhigere Abschnittsueberschriften */
.apps-landing-page main h2:where(:not(#contact-title, #hero-title)) {
  margin: 0;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.7vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.apps-landing-page .apps-care h2 {
  color: var(--white);
}

/* Sichtbarer Fokus auf hellen Flaechen (Gelb hat auf Weiss zu wenig Kontrast) */
.apps-landing-page .apps-features a:focus-visible,
.apps-landing-page .apps-work a:focus-visible,
.apps-landing-page .website-faq summary:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 4px;
}

/* 1. Funktionen als ruhige Liste */
.apps-features {
  padding: 112px 0;
  background: #f8f5ed;
}

.apps-features-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.apps-features-intro {
  position: sticky;
  top: 112px;
}

.apps-features-intro p {
  margin: 28px 0 0;
  color: #4f544d;
  font-size: 1.05rem;
}

.apps-inline-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--green);
  font-weight: 800;
  text-decoration-color: rgba(49, 77, 40, .35);
  text-underline-offset: 6px;
}

.apps-inline-link:hover {
  text-decoration-color: var(--green);
}

.apps-feature-list {
  margin: 0;
  border-top: 1px solid rgba(37, 37, 37, .16);
}

.apps-feature-list > div {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 12px 36px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(37, 37, 37, .16);
}

.apps-feature-list dt {
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.apps-feature-list dd {
  margin: 0;
  color: #555a53;
  font-size: .98rem;
}

/* 2. Veroeffentlichung, Betreuung und Uebernahme */
.apps-care {
  padding: 112px 0 120px;
  background: var(--green-dark);
  color: var(--white);
}

.apps-care-head {
  max-width: 820px;
}

.apps-care-head p {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 1.06rem;
}

.apps-care-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  margin-top: 64px;
}

.apps-care-col {
  padding-top: 30px;
  border-top: 2px solid var(--yellow-bright);
}

.apps-care-col h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.apps-care-col > p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .78);
}

.apps-care-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apps-care-col li {
  position: relative;
  padding: 16px 0 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .86);
}

.apps-care-col li::before {
  position: absolute;
  top: 1.45em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow-bright);
  content: "";
}


/* 3. Apps aus der Praxis: zwei gleichrangige Gruppen */
.apps-work {
  padding: 112px 0 104px;
  background: var(--white);
}

.apps-work-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  margin-bottom: 64px;
}

.apps-work-head p {
  max-width: 600px;
  margin: 0;
  color: #4f544d;
  font-size: 1.06rem;
}

.apps-group {
  display: grid;
  grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
  gap: 28px clamp(36px, 5vw, 72px);
  padding: 44px 0 48px;
  border-top: 1px solid rgba(37, 37, 37, .16);
}

.apps-group-intro h3 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.apps-group-intro p {
  margin: 0;
  color: #555a53;
  font-size: .97rem;
}

.apps-group-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.apps-group-list a {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}

.apps-group-list img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(37, 37, 37, .1);
  border-radius: 16px;
  background: var(--white);
  object-fit: cover;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.apps-group-list img.apps-img-top {
  object-position: center 18%;
}

.apps-group-list a:hover img {
  box-shadow: 0 16px 36px rgba(26, 38, 22, .12);
  transform: translateY(-3px);
}

.apps-item-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
}

.apps-item-name {
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.apps-item-desc {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.apps-item-cta,
.apps-group-extra a,
.apps-work-note a {
  color: var(--green);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(49, 77, 40, .35);
  text-underline-offset: 5px;
}

.apps-item-cta {
  margin-top: auto;
  padding-top: 6px;
}

.apps-group-list a:hover .apps-item-cta,
.apps-group-extra a:hover,
.apps-work-note a:hover {
  text-decoration-color: var(--green);
}

.apps-group-extra {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2;
  align-items: baseline;
  gap: 6px 24px;
  margin: 6px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(37, 37, 37, .1);
}

.apps-work-note {
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(37, 37, 37, .16);
  color: var(--muted);
  font-size: .95rem;
}

.apps-work-note a {
  font-size: inherit;
}

@media (max-width: 1040px) {
  .apps-group {
    grid-template-columns: 1fr;
  }

  .apps-group-extra {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .apps-work-head,
  .apps-features-grid,
  .apps-care-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .apps-care-grid {
    gap: 56px;
  }

  .apps-work-head {
    margin-bottom: 48px;
  }

  .apps-features-intro {
    position: static;
  }

  .apps-feature-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 760px) {
  .apps-group-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .apps-group-list li + li {
    border-top: 1px solid rgba(37, 37, 37, .1);
  }

  .apps-group-list a {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 18px 0;
  }

  .apps-group-list img {
    border-radius: 12px;
  }

  .apps-item-text {
    padding-top: 0;
  }

  .apps-group-extra {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .apps-landing-page .website-hero h1 {
    font-size: clamp(2.4rem, 10.6vw, 3.6rem);
  }

  .apps-features,
  .apps-care,
  .apps-work {
    padding: 80px 0;
  }

  .apps-group {
    padding: 36px 0 32px;
  }

  .apps-group-list a {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apps-group-list a:hover img {
    transform: none;
  }
}
