/* WRBS Consulting – Stylesheet (Blau-Design)
   Schriften liegen lokal in /fonts (keine Verbindung zu Drittanbietern). */

@font-face {
  font-family: "Plex Sans";
  src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Sans";
  src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Plex Condensed";
  src: url("fonts/ibm-plex-sans-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Plex Condensed";
  src: url("fonts/ibm-plex-sans-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Blau-Palette */
  --navy-900: #071a33;   /* tiefster Grund: Kopf, Hero, Kontakt */
  --navy-800: #0b2545;
  --navy-700: #123a6b;
  --blue-600: #1d5fd1;   /* Hauptakzent auf hellem Grund */
  --blue-500: #3b82f6;   /* Akzent auf dunklem Grund */
  --blue-300: #8fb8f5;
  --blue-200: #c9dcf7;
  --blue-100: #e4eefb;   /* getönte Flächen */
  --blue-50:  #f3f7fd;   /* Seitengrund */

  --ink: #0b1f3a;
  --muted: #455a73;
  --line: #d2deee;
  --sheet: #ffffff;
  --on-dark: #d3e0f3;

  --font-body: "Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-head: "Plex Condensed", "Arial Narrow", "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 72rem;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 37, 69, 0.06), 0 8px 24px rgba(11, 37, 69, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--blue-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: #fff;
  color: var(--navy-900);
  padding: 0.5rem 1rem;
  z-index: 10;
  border-radius: 4px;
}
.skip:focus { left: 0.5rem; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

/* ---------- Kopfzeile ---------- */

.site-head {
  background: var(--navy-900);
  color: #fff;
  padding-block: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-head :focus-visible,
.hero :focus-visible,
.contact :focus-visible { outline-color: var(--blue-300); }

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand-mark {
  background: var(--blue-500);
  color: #fff;
  padding: 0.05rem 0.5rem;
  border-radius: 4px;
}
.brand-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--blue-300);
  letter-spacing: 0;
  padding-left: 0.85rem;
  margin-left: 0.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
@media (max-width: 40rem) { .brand-sub { display: none; } }

.site-nav {
  display: flex;
  gap: 0.25rem 1.6rem;
  flex-wrap: wrap;
  font-size: 0.97rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--on-dark);
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover { color: #fff; border-bottom-color: var(--blue-500); }

/* ---------- Hero ---------- */

.hero {
  background:
    linear-gradient(rgba(143, 184, 245, 0.07) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(143, 184, 245, 0.07) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
  padding-block: clamp(2.75rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.25rem;
  align-items: center;
}
@media (min-width: 62rem) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 4.5rem; }
}

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.8rem);
  margin-bottom: 1.5rem;
}
.hero .lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  max-width: 34em;
  color: var(--on-dark);
  margin-bottom: 2.1rem;
}
.hero .lead strong { color: #fff; font-weight: 500; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem 1.5rem; align-items: center; }

.btn {
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 6px;
  background: var(--blue-600);
  color: #fff;
  border: 1px solid var(--blue-600);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: #174fb0; box-shadow: 0 6px 18px rgba(29, 95, 209, 0.35); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Auf dunklem Grund: heller Button */
.hero .btn,
.contact .btn {
  background: #fff;
  color: var(--navy-800);
  border-color: #fff;
}
.hero .btn:hover,
.contact .btn:hover { background: var(--blue-100); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }

.link-quiet {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--blue-300);
  color: var(--on-dark);
}
.link-quiet:hover { color: #fff; text-decoration-thickness: 2px; }

/* ---------- Laufzettel (Beispielauftrag im Hero) ---------- */

.ticket {
  background: var(--sheet);
  color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  max-width: 28rem;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
@media (min-width: 62rem) { .ticket { margin-inline-end: 0; } }

.ticket-head {
  padding: 1rem 1.25rem;
  background: var(--blue-100);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.ticket-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--navy-800);
}
.ticket-id { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }

.ticket-list { list-style: none; margin: 0; padding: 0.5rem 1.25rem 0.75rem; }
.ticket-list li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.75rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--blue-100);
  align-items: start;
}
.ticket-list li:last-child { border-bottom: 0; }

.tick {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--blue-600);
  display: grid;
  place-items: center;
  margin-top: 0.1rem;
}
.tick svg { width: 0.85rem; height: 0.85rem; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tick.open { background: #fff; border: 2px solid var(--blue-600); }
.tick.open::after {
  content: "";
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--blue-600);
}

.step-name { font-weight: 500; line-height: 1.3; display: block; color: var(--navy-800); }
.step-note { font-size: 0.9rem; color: var(--muted); line-height: 1.4; display: block; }

.ticket-foot {
  padding: 0.7rem 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--blue-50);
}

/* Einmalige Einblendung: Die Stationen werden nacheinander abgehakt. */
@media (prefers-reduced-motion: no-preference) {
  .ticket-list li .tick { animation: stamp 0.35s ease-out both; }
  .ticket-list li:nth-child(1) .tick { animation-delay: 0.3s; }
  .ticket-list li:nth-child(2) .tick { animation-delay: 0.75s; }
  .ticket-list li:nth-child(3) .tick { animation-delay: 1.2s; }
  .ticket-list li:nth-child(4) .tick { animation-delay: 1.65s; }
  .ticket-list li:nth-child(5) .tick { animation-delay: 2.1s; }
  @keyframes stamp {
    from { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.25); opacity: 1; }
    to { transform: scale(1); opacity: 1; }
  }
}

/* ---------- Abschnitte ---------- */

.section {
  padding-block: clamp(3.25rem, 7vw, 6rem);
  background: var(--sheet);
}
.section.tint { background: var(--blue-50); }
.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: 1rem;
  color: var(--navy-800);
}
.section-head h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  background: var(--blue-600);
  border-radius: 2px;
  margin-top: 1rem;
}
.section-head p { color: var(--muted); font-size: 1.15rem; margin: 0; }

/* Auftragskette (echte Reihenfolge: nummeriert) */
.chain {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: station;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chain li {
  counter-increment: station;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 2rem;
  padding: 1.6rem clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.chain li:last-child { border-bottom: 0; }
@media (min-width: 48rem) {
  .chain li { grid-template-columns: 14rem 1fr; }
}
.chain h3 {
  font-size: 1.55rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: var(--navy-800);
}
.chain h3::before {
  content: counter(station);
  font-family: var(--font-head);
  background: var(--blue-600);
  color: #fff;
  min-width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.05rem;
}
.chain p { margin: 0; color: var(--muted); max-width: 40rem; }
.chain p strong { color: var(--ink); font-weight: 500; }

/* Kontakt */
.contact {
  background:
    linear-gradient(rgba(143, 184, 245, 0.07) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(143, 184, 245, 0.07) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  padding-block: clamp(3.25rem, 7vw, 6rem);
}
.contact .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 56rem) { .contact .wrap { grid-template-columns: 1.3fr 0.7fr; gap: 4rem; } }
.contact h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 1rem; }
.contact p { color: var(--on-dark); max-width: 36rem; margin: 0; font-size: 1.15rem; }
.contact .mail { margin-top: 1.25rem; color: var(--on-dark); font-size: 1rem; }
.contact .mail a { color: #fff; text-underline-offset: 4px; }

/* Fußzeile */
.site-foot {
  background: var(--navy-900);
  color: var(--blue-300);
  padding-block: 1.75rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-foot :focus-visible { outline-color: var(--blue-300); }
.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}
.site-foot nav { display: flex; gap: 1.5rem; }

/* Rechtstexte */
.legal { padding-block: 3rem 5rem; max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.5rem; color: var(--navy-800); }
.legal h2 { font-size: 1.6rem; margin: 2.25rem 0 0.6rem; color: var(--navy-800); }
.legal h3 { font-size: 1.2rem; margin: 1.5rem 0 0.4rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }
.legal p, .legal li { color: #2b3f58; }
.legal a { color: var(--blue-600); }
.legal a.btn { color: #fff; }

/* =====================================================
   Mehrseitige Fassung: Navigation, Unterseiten, Formular
   ===================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Navigation */
.site-nav { align-items: center; }
.site-nav a[aria-current="page"]:not(.nav-cta) {
  color: #fff;
  border-bottom-color: var(--blue-500);
}
.site-nav .nav-cta {
  background: var(--blue-600);
  color: #fff;
  border: 1px solid var(--blue-500);
  border-radius: 6px;
  padding: 0.45rem 1.1rem;
  margin-left: 0.35rem;
  transition: background 0.15s ease;
}
.site-nav .nav-cta:hover { background: #2a6fe0; border-color: #2a6fe0; color: #fff; }
.site-nav .nav-cta[aria-current="page"] { background: #174fb0; }

/* Unterseiten-Kopf: ruhig, hell */
.page-hero {
  background: var(--blue-50);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--navy-800);
  max-width: 22em;
  margin-bottom: 1rem;
}
.page-hero p { font-size: 1.2rem; color: var(--muted); max-width: 42rem; margin: 0; }

/* Kernprinzipien */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 56rem) { .principles { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.principles > div {
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-600);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem 1.6rem;
}
.principles > div:nth-child(2) { border-top-color: var(--blue-500); }
.principles > div:nth-child(3) { border-top-color: var(--navy-700); }
.principles h3 {
  font-size: 1.65rem;
  margin-bottom: 0.7rem;
  color: var(--navy-800);
  hyphens: auto;
  overflow-wrap: break-word;
}
.principles p { color: var(--muted); margin: 0; }

/* Referenz-Teaser */
.teaser {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 3rem;
}
@media (min-width: 56rem) { .teaser { grid-template-columns: 1.6fr 0.4fr; align-items: center; } }
.teaser h3 { font-size: 1.75rem; color: var(--navy-800); margin-bottom: 0.75rem; }
.teaser p { color: var(--muted); }
.mini-flow {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mini-flow li {
  background: var(--blue-100);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  font-size: 0.95rem;
  color: var(--navy-800);
  font-weight: 500;
}
.mini-flow li:not(:last-child)::after {
  content: "\2192";
  margin-left: 0.6rem;
  color: var(--blue-600);
}
.teaser .btn,
.page-hero + .section .btn { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.teaser .btn:hover { background: #174fb0; color: #fff; box-shadow: 0 6px 18px rgba(29, 95, 209, 0.35); }

/* Leistungen */
.services { display: grid; gap: 1.75rem; }
.service {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 5px solid var(--blue-600);
}
.service h3 { font-size: 1.8rem; color: var(--navy-800); margin-bottom: 1.25rem; }
.service dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 2.25rem;
  margin: 0;
}
@media (min-width: 62rem) { .service dl { grid-template-columns: 0.9fr 1.3fr 1fr; } }
.service dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue-600);
  padding-bottom: 0.35rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--blue-100);
}
.service dd { margin: 0; color: var(--muted); }

.callout {
  background: var(--blue-100);
  border-left: 4px solid var(--blue-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  color: var(--navy-800);
  font-weight: 500;
  margin: 2rem 0 0;
  max-width: 46rem;
}

/* Prozessgrafik */
.flow-figure { margin: 0; }
.flow-figure figcaption { margin-top: 1rem; font-size: 0.92rem; color: var(--muted); }
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: schritt;
}
@media (min-width: 62rem) { .flow { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.flow li {
  counter-increment: schritt;
  position: relative;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-600);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.25rem;
  box-shadow: var(--shadow);
}
.flow li::before {
  content: counter(schritt);
  display: inline-grid;
  place-items: center;
  width: 1.7rem; height: 1.7rem;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.flow strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--navy-800); line-height: 1.15; margin-bottom: 0.3rem; }
.flow span { display: block; font-size: 0.93rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 62rem) {
  .flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1.1rem;
    top: 50%;
    width: 0.75rem; height: 0.75rem;
    border-top: 3px solid var(--blue-600);
    border-right: 3px solid var(--blue-600);
    transform: translateY(-50%) rotate(45deg);
  }
}

/* Referenz-Cases */
.case {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.case + .case { margin-top: 2rem; }
.case-head { margin-bottom: 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.case-tag { margin: 0 0 0.35rem; font-size: 0.95rem; font-weight: 500; color: var(--blue-600); }
.case-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--navy-800); max-width: 30em; }
.case-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem 2.5rem; }
@media (min-width: 62rem) { .case-grid { grid-template-columns: 0.8fr 1.5fr 1fr; } }
.case h3 {
  font-size: 1.35rem;
  color: var(--blue-600);
  padding-bottom: 0.35rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--blue-100);
}
.case p { color: var(--muted); }
.steps-list, .benefits { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.steps-list li, .benefits li { margin-bottom: 0.7rem; padding-left: 0.2rem; }
.steps-list li::marker, .benefits li::marker { color: var(--blue-600); }
.steps-list strong, .benefits strong { color: var(--ink); font-weight: 500; }

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 1.25fr 0.75fr; gap: 4.5rem; } }
.form { display: grid; gap: 1.2rem; max-width: 40rem; }
.form[hidden] { display: none; }
.field label { display: block; font-weight: 500; color: var(--navy-800); margin-bottom: 0.35rem; }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #6f87a8;
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: 3px solid var(--blue-300); outline-offset: 0; border-color: var(--blue-600); }
button.btn { font: inherit; font-weight: 500; cursor: pointer; background: var(--blue-600); color: #fff; }
.hint { font-size: 0.92rem; color: var(--muted); margin: 0; }
.hint a, .contact-aside a { color: var(--blue-600); }
.contact-aside {
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem;
  align-self: start;
}
.contact-aside h2 { font-size: 1.6rem; color: var(--navy-800); margin-bottom: 1rem; }
.contact-aside ol { margin: 0 0 1.5rem; padding-left: 1.2rem; color: var(--muted); }
.contact-aside li { margin-bottom: 0.6rem; padding-left: 0.2rem; }
.contact-aside li::marker { color: var(--blue-600); font-weight: 700; }
.contact-aside .direct { margin: 0; color: var(--ink); }

/* Referenz 1: Gesamtprojekt mit drei Bausteinen */
.case-sub { font-size: 1.35rem; color: var(--blue-600); margin-bottom: 0.5rem; }
.case-intro { max-width: 46rem; margin-bottom: 1.25rem; }
.tags { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags li {
  background: var(--blue-100);
  color: var(--navy-800);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  font-size: 0.93rem;
  font-weight: 500;
}
@media (min-width: 62rem) { .case-grid.even { grid-template-columns: repeat(3, 1fr); } }
.case-nutzen { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
@media (min-width: 62rem) { .case-nutzen .benefits { columns: 2; column-gap: 2.5rem; } .case-nutzen .benefits li { break-inside: avoid; } }

.kpi-stat {
  margin: 1.25rem 0 0;
  padding: 1rem 1.25rem;
  background: var(--blue-100);
  border-left: 4px solid var(--blue-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--navy-800);
  max-width: 40rem;
}
.kpi-stat strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--blue-600); margin-right: 0.15rem; }
