﻿/* Page group: Case examples
   Loaded for example/case pages after site.css. */

/* Praxisbeispiele: Hero verfeinern */
.example-hero {
  padding-top: 2.8rem;
  padding-bottom: 2rem;
}

.example-hero .project-kicker {
  margin-bottom: 0.85rem;
}

.example-hero .hero-title {
  max-width: 980px;
  margin-bottom: 1.5rem;
}

.example-hero .hero-content {
  align-items: flex-start;
  gap: 3rem;
}

.example-hero .hero-text {
  max-width: 680px;
}

.example-hero .lead {
  font-size: 1.12rem;
  line-height: 1.75;
}

.example-hero .hero-text p:not(.lead) {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #5f6f80;
}

.example-hero .hero-media {
  padding-top: 0.4rem;
  flex: 0 0 400px;
}

.example-hero .hero-image {
  max-width: 400px;
  margin: 0;

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

@media (max-width: 900px) {
  .example-hero .hero-content {
    gap: 1.5rem;
  }

  .example-hero .hero-media {
    flex: none;
    padding-top: 0;
  }

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

/* Praxisbeispiele: Prozessblock */
.example-process-section {
  margin-top: 1.8rem;
}

.example-process-section .section-title {
  margin-bottom: 1.2rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  color: #111827;
}

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

.example-process-card {
  position: relative;
  padding: 1.35rem 1.4rem 1.35rem 4.2rem;
  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);
}

.example-process-number {
  position: absolute;
  left: 1.35rem;
  top: 1.35rem;

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

  border-radius: 11px;
  background: rgba(62, 166, 161, 0.12);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 850;
}

.example-process-card p {
  margin: 0;
  color: #5f6f80;
  font-size: 1.02rem;
  line-height: 1.65;
}

.example-process-card:hover {
  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) {
  .example-process-grid {
    grid-template-columns: 1fr;
  }

  .example-process-card {
    padding: 1.2rem 1.2rem 1.2rem 3.8rem;
  }

  .example-process-number {
    left: 1.15rem;
    top: 1.2rem;
  }
}

/* Praxisbeispiele: Nutzenliste */
.example-benefits-section {
  margin-top: 2.8rem;
}

.example-benefits-section .section-title {
  margin-bottom: 1.2rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  color: #111827;
}

.example-benefits-box {
  padding: 1.45rem;
  border-radius: 18px;
  border: 1px solid rgba(62, 166, 161, 0.22);
  background:
    radial-gradient(circle at top right, rgba(62, 166, 161, 0.10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.example-benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.example-benefits-list li {
  position: relative;
  margin: 0;
  padding: 0.9rem 1rem 0.9rem 2.65rem;

  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(62, 166, 161, 0.16);

  color: #4b5f70;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
}

.example-benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;

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

  border-radius: 8px;
  background: rgba(62, 166, 161, 0.14);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 900;
}

@media (max-width: 760px) {
  .example-benefits-box {
    padding: 1.15rem;
  }

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

/* Praxisbeispiele: Abschluss-CTA / Rücklink */
.case-backlink {
  width: min(1100px, 92%);
  margin: 3.5rem auto 4.5rem;
  padding: clamp(1.4rem, 3vw, 2rem);

  border-radius: 20px;
  border: 1px solid rgba(62, 166, 161, 0.24);
  background:
    radial-gradient(circle at top right, rgba(247, 148, 30, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);

  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.075);
}

.case-backlink h2 {
  margin: 0 0 0.75rem;
  max-width: 820px;

  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  color: #123f46;
}

.case-backlink p {
  max-width: 850px;
  margin: 0 0 1.35rem;

  color: #4b5f70;
  font-size: 1.03rem;
  line-height: 1.65;
}

.case-backlink .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-width: 230px;
  padding: 0.9rem 1.15rem;

  border-radius: 13px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #111827;

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

  box-shadow: 0 12px 26px rgba(247, 148, 30, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.case-backlink .button:hover,
.case-backlink .button:focus {
  color: #111827;
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(0.98);
  box-shadow: 0 16px 32px rgba(247, 148, 30, 0.30);
}

@media (max-width: 640px) {
  .case-backlink .button {
    width: 100%;
  }
}

/* =========================
   Praxisbeispiel: Hero
   ========================= */

.case-hero {
  padding-top: 2.4rem;
  padding-bottom: 2.2rem;
}

.case-hero .project-kicker {
  margin-bottom: 0.85rem;
}

.case-hero .hero-title {
  max-width: 880px;
  margin-bottom: 1.5rem;
}

.case-hero .hero-content {
  align-items: flex-start;
  gap: 3rem;
}

.case-hero .hero-text {
  max-width: 680px;
}

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

.case-hero .hero-media {
  padding-top: 0.6rem;
}

.case-hero .hero-image {
  max-width: 400px;
  margin-top: 0;
  margin-bottom: 0;

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

@media (max-width: 900px) {
  .case-hero .hero-content {
    gap: 1.5rem;
  }

  .case-hero .hero-media {
    padding-top: 0;
  }

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

/* Praxisbeispiel: Detailkarten nach dem Hero */
.case-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 2.4rem;
}

.case-detail-card {
  position: relative;
  padding: 1.35rem 1.4rem 1.35rem 4.1rem;
  border-radius: 17px;
  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);
}

.case-detail-card::before {
  position: absolute;
  left: 1.35rem;
  top: 1.35rem;

  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-weight: 850;
  font-size: 0.86rem;
}

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

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

.case-detail-card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #5f6f80;
}

.case-detail-card:hover {
  border-color: rgba(62, 166, 161, 0.32);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .case-detail-grid {
    grid-template-columns: 1fr;
  }

  .case-detail-card {
    padding: 1.25rem 1.25rem 1.25rem 3.8rem;
  }

  .case-detail-card::before {
    left: 1.15rem;
    top: 1.25rem;
  }
}

/* Praxisbeispiel: Nutzen für den Betrieb */
.container..case-benefits {
  margin: 2.4rem;
}

.case-benefits h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.25;
  color: #111827;
}

.case-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.case-benefit-list li {
  position: relative;
  margin: 0;
  padding: 0.95rem 1rem 0.95rem 2.7rem;

  border-radius: 14px;
  border: 1px solid rgba(62, 166, 161, 0.18);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);

  color: #4b5f70;
  font-size: 1rem;
  line-height: 1.5;
}

.case-benefit-list li::before {
  content: "✓";
  position: absolute;
  left: 0.95rem;
  top: 0.95rem;

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

  border-radius: 8px;
  background: rgba(62, 166, 161, 0.14);
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 0.85rem;
}

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

/* Praxisbeispiel: Abschluss-CTA */
.case-backlink {
  width: min(1100px, 92%);
  margin: 3.4rem auto 4.5rem;
  padding: clamp(1.45rem, 3vw, 2rem);

  border-radius: 22px;
  border: 1px solid rgba(62, 166, 161, 0.22);
  border-left: 5px solid var(--accent);

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

  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.case-backlink h2 {
  max-width: 820px;
  margin: 0 0 0.8rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.2;
  color: #123f46;
}

.case-backlink p {
  max-width: 860px;
  margin: 0 0 1.35rem;
  color: #4b5f70;
  font-size: 1.05rem;
  line-height: 1.7;
}

.case-backlink .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-width: 250px;

  padding: 0.95rem 1.25rem;
  border-radius: 14px;

  background: var(--accent);
  color: #111827;

  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;

  box-shadow: 0 14px 30px rgba(247, 148, 30, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.case-backlink .button:hover,
.case-backlink .button:focus {
  color: #111827;
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(0.98);
  box-shadow: 0 18px 38px rgba(247, 148, 30, 0.32);
}

@media (max-width: 640px) {
  .case-backlink .button {
    width: 100%;
    min-width: 0;
  }
}

/* Beispielseiten: Hero-Grundstil */
.case-hero {
  padding-top: 2.6rem;
  padding-bottom: 1.8rem;
}

.case-hero .project-kicker {
  margin-bottom: 0.9rem;
}

.case-hero .hero-title {
  max-width: 900px;
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.12;
}

.case-hero .hero-content {
  align-items: flex-start;
  gap: 3rem;
}

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

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

.case-hero .hero-media {
  padding-top: 0.4rem;
}

.case-hero .hero-image {
  max-width: 400px;
  margin-top: 0;
  margin-bottom: 0;

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

@media (max-width: 900px) {
  .case-hero .hero-content {
    gap: 1.5rem;
  }

  .case-hero .hero-media {
    padding-top: 0;
  }

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

/* Beispielseiten: Detail-/Praxistext */
.case-story-section {
  margin-top: 1.2rem;
  margin-bottom: 2.4rem;
}

.case-story-card {
  padding: 1.5rem 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(62, 166, 161, 0.18);
  border-left: 5px solid var(--brand);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.case-story-card p {
  max-width: 920px;
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #5f6f80;
}

.case-story-card p:last-child {
  margin-bottom: 0;
}

/* Beispielseiten: Nutzen für den Betrieb */
.case-benefits-section {
  margin-top: 2.4rem;
  margin-bottom: 3rem;
}

.case-benefits-section .section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  color: #111827;
}

.case-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.case-benefit-card {
  position: relative;
  padding: 1rem 1.1rem 1rem 3rem;

  border-radius: 15px;
  border: 1px solid rgba(62, 166, 161, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);

  color: #4b5f70;
  font-size: 1rem;
  line-height: 1.55;
}

.case-benefit-card::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 1rem;

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

  border-radius: 8px;
  background: rgba(62, 166, 161, 0.14);
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 0.85rem;
}

.case-benefit-card-wide {
  grid-column: 1 / -1;
}

.case-benefit-card:hover {
  border-color: rgba(62, 166, 161, 0.34);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.075);
  transform: translateY(-2px);
}

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

  .case-benefit-card-wide {
    grid-column: auto;
  }
}

/* Beispielseiten: Abschluss-CTA / Rückverlinkung */
.case-backlink {
  width: min(1100px, 92%);
  margin: 3.4rem auto 4.4rem;
  padding: clamp(1.4rem, 3vw, 2rem);

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;

  border-radius: 20px;
  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.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fffaf4 55%, #f7fbfb 100%);

  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
}

.case-backlink h2 {
  grid-column: 1;
  margin: 0 0 0.65rem;
  max-width: 760px;

  font-size: clamp(1.45rem, 2.7vw, 1.95rem);
  line-height: 1.2;
  color: #123f46;
}

.case-backlink p {
  grid-column: 1;
  max-width: 820px;
  margin: 0;

  color: #5f6f80;
  font-size: 1.02rem;
  line-height: 1.65;
}

.case-backlink .button {
  grid-column: 2;
  grid-row: 1 / span 2;

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

  min-width: 240px;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;

  background: var(--accent);
  color: #111827;
  text-decoration: none;

  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;

  box-shadow: 0 14px 30px rgba(247, 148, 30, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.case-backlink .button:hover,
.case-backlink .button:focus {
  color: #111827;
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(0.98);
  box-shadow: 0 18px 38px rgba(247, 148, 30, 0.32);
}

@media (max-width: 820px) {
  .case-backlink {
    grid-template-columns: 1fr;
  }

  .case-backlink h2,
  .case-backlink p,
  .case-backlink .button {
    grid-column: auto;
    grid-row: auto;
  }

  .case-backlink .button {
    width: 100%;
    min-width: 0;
  }
}

/* Beispiel Telefonie: Hero verfeinern */
.case-hero {
  padding-top: 2.8rem;
  padding-bottom: 1.8rem;
}

.case-hero .project-kicker {
  margin-bottom: 0.85rem;
}

.case-hero .hero-title {
  max-width: 860px;
  margin-bottom: 1.5rem;
}

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

.case-hero .hero-text {
  max-width: 680px;
}

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

.case-hero .hero-media {
  flex: 0 0 400px;
  padding-top: 0.2rem;
}

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

@media (max-width: 900px) {
  .case-hero .hero-content {
    gap: 1.5rem;
  }

  .case-hero .hero-media {
    flex: none;
    padding-top: 0;
  }

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

/* Praxisbeispiele: Projekt-/Ablaufblock */
.case-story-section {
  margin-top: 1.4rem;
}

.case-story-card {
  padding: 1.45rem 1.55rem;
  border-radius: 18px;
  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);
}

.case-story-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  line-height: 1.25;
  color: #123f46;
}

.case-story-card p {
  margin: 0 0 1rem;
  max-width: 900px;
  color: #5f6f80;
  font-size: 1.05rem;
  line-height: 1.7;
}

.case-story-card p:last-child {
  margin-bottom: 0;
}

/* Praxisbeispiele: Nutzenkarten */
.case-benefits-section {
  margin-top: 2.6rem;
}

.case-benefits-section .section-title {
  margin-bottom: 1.2rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.25;
  color: #111827;
}

.case-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.case-benefit-card {
  position: relative;
  padding: 1rem 1.1rem 1rem 3rem;
  border-radius: 15px;
  border: 1px solid rgba(62, 166, 161, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);

  color: #4b5f70;
  font-size: 1rem;
  line-height: 1.55;
}

.case-benefit-card::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 1rem;

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

  border-radius: 8px;
  background: rgba(62, 166, 161, 0.14);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 900;
}

.case-benefit-card:hover {
  border-color: rgba(62, 166, 161, 0.32);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.075);
  transform: translateY(-2px);
}

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

/* Praxisbeispiele: Abschluss-CTA */
.case-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;

  margin-top: 3.2rem;
  margin-bottom: 4rem;
  padding: clamp(1.5rem, 3vw, 2rem);

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

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

  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.075);
}

.case-final-cta h2 {
  margin: 0 0 0.75rem;
  max-width: 720px;
  font-size: clamp(1.45rem, 2.7vw, 1.9rem);
  line-height: 1.18;
  color: #123f46;
}

.case-final-cta p {
  margin: 0;
  max-width: 720px;
  color: #5f6f80;
  font-size: 1.02rem;
  line-height: 1.65;
}

.case-final-cta__action {
  display: flex;
  justify-content: flex-end;
}

.case-final-cta .button {
  width: auto;
  min-width: 260px;

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

  padding: 0.95rem 1.25rem;
  border-radius: 14px;

  background: var(--accent);
  color: #111827;
  border: 0;

  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;

  box-shadow: 0 14px 30px rgba(247, 148, 30, 0.28);
}

.case-final-cta .button:hover,
.case-final-cta .button:focus {
  color: #111827;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(247, 148, 30, 0.34);
}

@media (max-width: 760px) {
  .case-final-cta {
    grid-template-columns: 1fr;
  }

  .case-final-cta__action,
  .case-final-cta .button {
    width: 100%;
  }
}

/* Praxisbeispiel Scanner: Hero verfeinern */
.case-hero {
  padding-top: 2.4rem;
  padding-bottom: 1.4rem;
}

.case-hero .project-kicker {
  margin-bottom: 0.85rem;
}

.case-hero .hero-title {
  max-width: 920px;
  margin-bottom: 1.4rem;
}

.case-hero .hero-content {
  align-items: flex-start;
  gap: 2.6rem;
}

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

.case-hero .hero-text p {
  line-height: 1.7;
}

.case-hero .hero-media {
  padding-top: 0.35rem;
  flex: 0 0 400px;
}

.case-hero .hero-image {
  max-width: 400px;
  margin-top: 0;
  margin-bottom: 0;

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

@media (max-width: 900px) {
  .case-hero .hero-content {
    gap: 1.5rem;
  }

  .case-hero .hero-media {
    flex: none;
    padding-top: 0;
  }

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

/* Praxisbeispiele: Technische Umsetzung */
.case-implementation-section {
  margin-top: 1.4rem;
}

.case-implementation-box {
  padding: 1.45rem 1.55rem;
  border-radius: 18px;
  border: 1px solid rgba(62, 166, 161, 0.20);
  border-left: 5px solid var(--brand);
  background:
    radial-gradient(circle at top right, rgba(62, 166, 161, 0.10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.case-implementation-box h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.25;
  color: #123f46;
}

.case-implementation-box p {
  margin: 0 0 0.9rem;
  color: #5f6f80;
  font-size: 1.05rem;
  line-height: 1.7;
}

.case-implementation-box p:last-child {
  margin-bottom: 0;
}

/* Praxisbeispiele: Nutzenkarten */
.case-benefits-section {
  margin-top: 2.4rem;
}

.case-benefits-section h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  color: #111827;
}

.case-benefit-grid {
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.case-benefit-grid li {
  position: relative;
  margin: 0;
  padding: 0.95rem 1rem 0.95rem 2.7rem;

  border-radius: 14px;
  border: 1px solid rgba(62, 166, 161, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);

  color: #4b5f70;
  font-size: 1rem;
  line-height: 1.5;
}

.case-benefit-grid li::before {
  content: "✓";
  position: absolute;
  left: 0.9rem;
  top: 0.95rem;

  width: 24px;
  height: 24px;

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

  border-radius: 8px;
  background: rgba(62, 166, 161, 0.14);
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 0.85rem;
}

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

/* Praxisbeispiele: Abschluss-CTA */
.case-final-cta-section {
  padding: 3.2rem 0 4rem;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.case-final-cta {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: center;

  padding: clamp(1.5rem, 3vw, 2.1rem);
  border-radius: 24px;
  border: 1px solid rgba(247, 148, 30, 0.26);
  background:
    radial-gradient(circle at top right, rgba(247, 148, 30, 0.18), transparent 32%),
    linear-gradient(135deg, #123f46 0%, #1f4e5f 100%);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.case-final-cta::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(62, 166, 161, 0.22);
}

.case-final-cta__icon {
  position: relative;
  z-index: 1;

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

  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
}

.case-final-cta__content {
  position: relative;
  z-index: 1;
}

.case-final-cta h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.18;
  color: #ffffff;
}

.case-final-cta p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.case-final-cta__action {
  position: relative;
  z-index: 1;
}

.case-final-cta .btn.btn-primary {
  width: auto;
  min-width: 230px;
  justify-content: center;

  padding: 0.95rem 1.25rem;
  border-radius: 14px;

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

  box-shadow: 0 14px 30px rgba(247, 148, 30, 0.28);
}

.case-final-cta .btn.btn-primary:hover,
.case-final-cta .btn.btn-primary:focus {
  color: #111827;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(247, 148, 30, 0.34);
}

@media (max-width: 820px) {
  .case-final-cta {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .case-final-cta__icon {
    width: 48px;
    height: 48px;
  }

  .case-final-cta__action,
  .case-final-cta .btn.btn-primary {
    width: 100%;
  }
}

.example-links {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.8rem 0;
  display: grid;
  gap: 0.6rem;
}

.example-links li {
  margin: 0;
}

.example-links a {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 150, 150, 0.25);
  border-radius: 10px;
  background: rgba(0, 150, 150, 0.04);
  color: #159a9a;
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.example-links a:hover,
.example-links a:focus {
  background: rgba(0, 150, 150, 0.09);
  border-color: rgba(0, 150, 150, 0.45);
  color: #0f7f7f;
  transform: translateY(-1px);
}



.case-backlink {
  width: min(1100px, 92%);
  margin: 3rem auto 4rem auto;
  padding: 1.5rem;
  border-radius: 14px;
  background: rgba(0, 150, 150, 0.06);
  border: 1px solid rgba(0, 150, 150, 0.18);
  box-sizing: border-box;
}

.case-backlink h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: #111827;
}

.case-backlink p {
  max-width: 900px;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.case-backlink .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border-radius: 0.75rem;
  background: var(--accent);
  color: #111827;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.case-backlink .button:hover,
.case-backlink .button:focus {
  transform: translateY(-1px);
  filter: brightness(0.98);
  text-decoration: none;
}
