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

/* Projekte: Hero verfeinern */
.projects-hero {
  padding-top: 2.8rem;
  padding-bottom: 2.4rem;
}

.projects-hero .hero-title {
  max-width: 900px;
  margin-bottom: 1.4rem;
}

.projects-hero .hero-content {
  align-items: center;
  gap: 3rem;
}

.projects-hero .hero-text {
  max-width: 700px;
}

.projects-hero .lead {
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.projects-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) {
  .projects-hero .hero-content {
    align-items: flex-start;
    gap: 1.5rem;
  }

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

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

/* Projekte: Spezialthema-Teaser unter Hero */
.projects-topic-teaser-wrap {
  margin: 1.2rem 0 2.2rem;
}

.projects-topic-teaser {
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(62, 166, 161, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(62,166,161,.08) 0%, rgba(62,166,161,.045) 100%);
}

.projects-topic-teaser .special-teaser__text {
  max-width: 720px;
}

.projects-topic-teaser .special-teaser__kicker {
  font-size: 0.76rem;
}

.projects-topic-teaser h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.projects-topic-teaser p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.projects-topic-teaser .special-teaser__action {
  width: 220px;
}

.projects-topic-teaser .btn.btn-outline {
  min-height: 46px;
  padding: 0.76rem 1rem;
}

@media (max-width: 820px) {
  .projects-topic-teaser .special-teaser__action {
    width: 100%;
  }
}

/* Projekte: ausführliche Praxisbeispiele */
.projects-examples-section {
  margin-top: 2.4rem;
}

.projects-section-head {
  max-width: 820px;
  margin-bottom: 1.4rem;
}

.projects-section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  color: #111827;
}

.projects-section-head p {
  margin: 0;
  color: #5f6f80;
  font-size: 1.05rem;
  line-height: 1.65;
}

.projects-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2.6rem;
}

.projects-example-grid a {
  display: block;
  position: relative;
  min-height: 112px;
  padding: 1.15rem 1.2rem 1.15rem 4rem;
  border-radius: 16px;
  border: 1px solid rgba(62, 166, 161, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.projects-example-grid a:last-child {
  grid-column: 1 / -1;
}

.projects-example-grid a::before {
  position: absolute;
  left: 1.15rem;
  top: 1.15rem;

  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

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

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

.projects-example-grid a:nth-child(1)::before {
  content: "€";
  font-size: 1rem;
}

.projects-example-grid a:nth-child(2)::before {
  content: "Plan";
}

.projects-example-grid a:nth-child(3)::before {
  content: "ISO";
}

.projects-example-grid a:nth-child(4)::before {
  content: "CRM";
}

.projects-example-grid a:nth-child(5)::before {
  content: "Scan";
}

.projects-example-grid a strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #123f46;
  font-size: 1.03rem;
}

.projects-example-grid a span {
  display: block;
  color: #5f6f80;
  font-size: 0.96rem;
  line-height: 1.5;
}

.projects-example-grid a:hover,
.projects-example-grid a:focus {
  text-decoration: none;
  border-color: rgba(62, 166, 161, 0.34);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.085);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .projects-example-grid {
    grid-template-columns: 1fr;
  }

  .projects-example-grid a {
    padding: 1.1rem 1.1rem 1.1rem 3.75rem;
  }

  .projects-example-grid a:last-child {
    grid-column: auto;
  }

  .projects-example-grid a::before {
    left: 1rem;
    top: 1.1rem;
  }
}

/* Projekte: weitere Referenzbereiche besser strukturieren */
.project-list {
  width: min(1100px, 92%);
  margin: 3rem auto 4rem;
}

.project-list h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  color: #111827;
}

.project-card {
  position: relative;
  margin-bottom: 1.15rem;
  padding: 1.35rem 1.45rem;
  border-radius: 18px;
  border: 1px solid rgba(62, 166, 161, 0.18);
  border-left: 5px solid rgba(62, 166, 161, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(62, 166, 161, 0.34);
  border-left-color: var(--brand);
  box-shadow: 0 15px 34px rgba(15, 23, 42, 0.085);
}

.project-card h3 {
  margin: 0 0 1rem;
  font-size: 1.22rem;
  line-height: 1.3;
  color: #123f46;
}

.project-card p {
  margin: 0.45rem 0;
  color: #4b5f70;
  font-size: 1rem;
  line-height: 1.55;
}

.project-card p strong {
  display: inline-block;
  min-width: 105px;
  margin-right: 0.25rem;
  color: #123f46;
  font-weight: 800;
}

.project-card a {
  display: inline-flex;
  align-items: center;
  margin-top: 0.7rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(62, 166, 161, 0.10);
  color: var(--brand-dark);
  font-weight: 750;
  font-size: 0.95rem;
  text-decoration: none;
}

.project-card a::after {
  content: " →";
}

.project-card a:hover,
.project-card a:focus {
  background: rgba(62, 166, 161, 0.16);
  color: var(--brand-dark);
  text-decoration: none;
}

/* Projekte: Abschluss-CTA */
.projects-final-cta-section {
  padding-top: 3.2rem;
  padding-bottom: 4.2rem;
}

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