﻿/* Page: Leistungen
   Loaded after site.css. Keep only styles used by this page here. */

/* =========================
   Leistungen: Hero verfeinern
   ========================= */

.services-hero {
  padding-top: 2.6rem;
  padding-bottom: 1.2rem;
}

.services-hero .hero-title {
  margin-bottom: 1.4rem;
}

.services-hero .hero-content {
  align-items: center;
  gap: 2.8rem;
}

.services-hero .hero-text {
  max-width: 720px;
}

.services-hero .hero-text h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  color: #123f46;
}

.services-hero .lead {
  font-size: 1.08rem;
  line-height: 1.72;
}

.services-hero .hero-media {
  flex: 0 0 400px;
}

.services-hero .hero-image {
  max-width: 400px;
  border-radius: 22px;
  border: 1px solid rgba(62, 166, 161, 0.16);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.10);
  background: #ffffff;
  padding: 0.35rem;
}

@media (max-width: 900px) {
  .services-hero .hero-content {
    align-items: flex-start;
    gap: 1.5rem;
  }

  .services-hero .hero-media {
    flex: none;
  }

  .services-hero .hero-image {
    max-width: 360px;
  }
}

/* Leistungen: Kleine-Firmen-Abschnitt */
.section-small-business {
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
}

.section-small-business .section-header {
  max-width: 820px;
  margin-bottom: 2rem;
}

.section-small-business .section-header .eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  background: rgba(62, 166, 161, 0.12);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-small-business .section-header h2 {
  margin: 0 0 1rem;
  max-width: 760px;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.18;
  color: #111827;
}

.section-small-business .section-header p {
  max-width: 850px;
  margin: 0 0 0.85rem;
  color: #5f6f80;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-small-business .section-header p:last-child {
  margin-bottom: 0;
}

/* Leistungen: Kleine-Firmen-Karten */
.section-small-business .card-grid-4 {
  gap: 1.2rem;
}

.section-small-business .service-card {
  position: relative;
  overflow: hidden;

  padding: 1.45rem 1.4rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(62, 166, 161, 0.18);

  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);

  display: flex;
  flex-direction: column;
  min-height: 260px;

  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.section-small-business .service-card::before {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;

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

  border-radius: 14px;
  background: rgba(62, 166, 161, 0.10);
  color: var(--brand-dark);

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-small-business .service-card:nth-child(1)::before {
  content: "App";
}

.section-small-business .service-card:nth-child(2)::before {
  content: "Tool";
}

.section-small-business .service-card:nth-child(3)::before {
  content: "Web";
}

.section-small-business .service-card:nth-child(4)::before {
  content: "Data";
}

.section-small-business .service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.12rem;
  line-height: 1.3;
  color: #123f46;
}

.section-small-business .service-card p {
  margin: 0 0 1.25rem;
  color: #5f6f80;
  font-size: 0.98rem;
  line-height: 1.6;
}

.section-small-business .service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 166, 161, 0.34);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

/* Leistungen: Buttons in Kleine-Firmen-Karten */
.section-small-business .service-card .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-width: 150px;
  margin-top: auto;

  padding: 0.82rem 1.05rem;
  border-radius: 12px;

  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;

  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.section-small-business .service-card .button-secondary {
  background: #ffffff;
  color: var(--brand-dark);
  border: 1px solid rgba(62, 166, 161, 0.28);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.section-small-business .service-card .button-secondary:hover,
.section-small-business .service-card .button-secondary:focus {
  color: var(--brand-dark);
  background: rgba(62, 166, 161, 0.08);
  border-color: rgba(62, 166, 161, 0.45);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
}

@media (max-width: 700px) {
  .section-small-business .service-card .button {
    width: 100%;
  }
}

/* Leistungen: Hinweis unter Kleine-Firmen-Karten */
.small-business-note {
  margin-top: 1.6rem;
  padding: 1.15rem 1.25rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;

  border-radius: 16px;
  border: 1px solid rgba(247, 148, 30, 0.24);
  border-left: 5px solid var(--accent);

  background:
    radial-gradient(circle at top right, rgba(247, 148, 30, 0.10), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fffaf4 55%, #f7fbfb 100%);

  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.small-business-note__text {
  color: #4b5f70;
  font-size: 1rem;
  line-height: 1.6;
}

.small-business-note__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;

  padding: 0.78rem 1rem;
  border-radius: 11px;

  background: var(--accent);
  color: #111827;
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;

  box-shadow: 0 10px 22px rgba(247, 148, 30, 0.22);
}

.small-business-note__link:hover,
.small-business-note__link:focus {
  color: #111827;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(247, 148, 30, 0.28);
}

@media (max-width: 720px) {
  .small-business-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .small-business-note__link {
    width: 100%;
  }
}

/* Leistungen: klassische Leistungskarten */
.services {
  padding: 3.2rem 0 3.6rem;
  background: #ffffff;
}

.services .cards.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 0;
}

.services .card {
  position: relative;
  overflow: hidden;

  padding: 1.45rem 1.45rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(62, 166, 161, 0.16);

  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);

  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.services .card::before {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;

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

  border-radius: 14px;
  background: rgba(62, 166, 161, 0.10);
  color: var(--brand-dark);

  font-size: 0.86rem;
  font-weight: 850;
}

.services .card:nth-child(1)::before {
  content: "01";
}

.services .card:nth-child(2)::before {
  content: "02";
}

.services .card:nth-child(3)::before {
  content: "03";
}

.services .card:nth-child(4)::before {
  content: "04";
}

.services .card:nth-child(5)::before {
  content: "05";
}

.services .card:nth-child(6)::before {
  content: "06";
}

.services .card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.22rem;
  line-height: 1.28;
  color: #123f46;
}

.services .card .nolead {
  margin: 0;
  color: #5f6f80;
  font-size: 1rem;
  line-height: 1.65;
}

.services .card:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 166, 161, 0.34);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.095);
}

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

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

  .services .card {
    padding: 1.25rem;
  }
}

/* Leistungen: Header vor klassischen Leistungskarten */
.services-header {
  max-width: 820px;
  margin-bottom: 1.8rem;
}

.services-kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  background: rgba(62, 166, 161, 0.12);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-header h2 {
  margin: 0 0 0.85rem;
  max-width: 760px;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.18;
  color: #111827;
}

.services-header p:not(.services-kicker) {
  margin: 0;
  max-width: 850px;
  color: #5f6f80;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Leistungen: Spezialteaser unten */
.services-special-teaser-wrap {
  margin-top: 0.4rem;
  margin-bottom: 3rem;
}

.services-special-teaser {
  border-color: rgba(62, 166, 161, 0.30);
  background:
    radial-gradient(circle at top right, rgba(62, 166, 161, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(62,166,161,.09) 0%, rgba(62,166,161,.045) 100%);
}

.services-special-teaser .special-teaser__kicker {
  background: rgba(62, 166, 161, 0.16);
  color: var(--brand-dark);
}

.services-special-teaser h2 {
  color: #123f46;
}

.services-special-teaser p {
  max-width: 720px;
}

/* Leistungen: Abschluss-CTA */
.services-final-cta-section {
  padding-top: 2.8rem;
  padding-bottom: 4.5rem;
}

.services-final-cta {
  margin-top: 0;
}

.section-small-business {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  background: #f6f8fb;
}

.section-small-business .section-header {
    max-width: 820px;
    margin-bottom: 2rem;
}

.eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4f6f9f;
    margin-bottom: 0.5rem;
}

.card-grid {
    display: grid;
    gap: 1.5rem;
}

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

.service-card {
padding: 1.6rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #dbe3ec;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
	display: flex;
    flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card a {
    margin-top: auto;
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.service-card p {
    margin-bottom: 1.25rem;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.section-note {
    margin-top: 2rem;
}

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

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