:root {
  --content-measure: 68ch;
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-lift: 0 2px 8px rgb(11 37 69 / .08);
}

body { overflow-x: clip; }
main:focus { outline: none; }
html { scroll-padding-top: 92px; }

.page-hero-compact { padding-bottom: clamp(72px, 8vw, 108px); }
.page-hero .hero-grid h1,
.page-hero-compact h1 { max-width: 18ch; font-size: clamp(2.7rem, 4.7vw, 4.9rem); }
.page-hero-compact .hero-lead { max-width: 62ch; }

.industry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.industry-layout > * { min-width: 0; }
.industry-layout > .section-heading { margin-bottom: 0; }
.industry-layout > .section-heading--stacked {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.industry-layout > .section-heading--stacked h2 { max-width: 18ch; }
.industry-layout > .section-heading--stacked p { max-width: 58ch; margin-bottom: 0; }

.industry-layout--photo-left {
  grid-template-columns: minmax(280px, .74fr) minmax(0, 1.26fr);
}

.industry-layout--photo-left > .industry-photo {
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-self: start;
}

.industry-layout--photo-left > :not(.industry-photo) { grid-column: 2; }

.industry-layout--photo-right > .industry-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
}

.industry-layout--photo-right > :not(.industry-photo) { grid-column: 1; }

.industry-layout--lead > .section-heading { grid-column: 1; }
.industry-layout--lead > .industry-photo {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
.industry-layout--lead > :not(.section-heading, .industry-photo) { grid-column: 1 / -1; }

.industry-layout > .problem-list,
.industry-layout > .outcome-grid { grid-template-columns: minmax(0, 1fr); }

.industry-photo {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--pale-blue);
}

.section-blue .industry-photo { border-color: rgb(248 250 245 / .18); }

.industry-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--motion-ease);
}

.industry-photo--branchen { max-width: 440px; aspect-ratio: 4 / 5; }
.industry-photo--handwerker { max-width: 420px; aspect-ratio: 2 / 3; }
.industry-photo--aerzte { max-width: 460px; aspect-ratio: 4 / 5; }
.industry-photo--zahnaerzte { max-width: 440px; aspect-ratio: 3 / 4; }
.industry-photo--anwaelte { max-width: 430px; aspect-ratio: 4 / 5; }
.industry-photo--immobilienmakler { max-width: 460px; aspect-ratio: 4 / 5; }
.industry-photo--versicherungsmakler { max-width: 430px; aspect-ratio: 3 / 4; }
.industry-photo--physiotherapeuten { max-width: 450px; aspect-ratio: 4 / 5; }
.industry-photo--tieraerzte { max-width: 460px; aspect-ratio: 4 / 5; }
.industry-photo--bauunternehmen { max-width: 440px; aspect-ratio: 4 / 5; }

.industry-photo--branchen img { object-position: 48% 45%; }
.industry-photo--handwerker img { object-position: 53% 48%; }
.industry-photo--aerzte img { object-position: 58% 45%; }
.industry-photo--zahnaerzte img { object-position: 50% 47%; }
.industry-photo--anwaelte img { object-position: 48% 43%; }
.industry-photo--immobilienmakler img { object-position: 50% 43%; }
.industry-photo--versicherungsmakler img { object-position: 51% 44%; }
.industry-photo--physiotherapeuten img { object-position: 55% 44%; }
.industry-photo--tieraerzte img { object-position: 50% 42%; }
.industry-photo--bauunternehmen img { object-position: 50% 44%; }

@media (hover: hover) and (pointer: fine) {
  .industry-photo:hover img { transform: scale(1.006); }
}

.industry-related-section {
  padding: clamp(56px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
  background: var(--off-white);
}

.industry-related {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.industry-related h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
}

.industry-related-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.industry-related-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 56px;
  padding: 16px 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 720;
  text-decoration: none;
}

.industry-related-list a::after {
  color: var(--blue);
  content: "\2192";
  font-size: 1.15rem;
  transition: transform 180ms var(--motion-ease);
}

.industry-related-list a:hover,
.industry-related-list a:focus-visible { color: var(--blue); }
.industry-related-list a:hover::after,
.industry-related-list a:focus-visible::after { transform: translateX(4px); }

/* Conversion Hinweise stehen direkt beim ersten CTA. Sie beantworten die
   wichtigsten Fragen, ohne einen weiteren Aktionsbutton zu erzeugen. */
.hero-confidence {
  display: flex;
  margin: 18px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ink-muted-on-deep);
  font-size: .82rem;
  line-height: 1.45;
  list-style: none;
}

.hero-confidence li {
  position: relative;
  padding-left: 16px;
}

.hero-confidence li::before {
  position: absolute;
  top: .62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

/* Die Branchenkarte bleibt redaktionell ruhig, bekommt aber ein eindeutiges
   Ziel und ein ausreichend grosses Klickfeld. */
.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.industry-card .branchen-tag { margin-bottom: 0; }

.industry-card-link {
  margin-top: auto;
  padding-top: 22px;
  align-self: flex-start;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}

.industry-card-link::before {
  position: absolute;
  inset: 0;
  content: "";
}

.industry-card-link::after { content: "  \2192"; }

.industry-card:hover h3,
.industry-card:focus-within h3 { color: var(--blue); }

.industry-card:focus-within {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  margin: 18px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 20px;
  object-fit: cover;
}

.hero-visual.is-portrait img { object-position: 50% 30%; }

.angle-frame::before,
.angle-frame::after {
  position: absolute;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-color: var(--blue);
  content: "";
  pointer-events: none;
  /* Nur Opacity und Transform — beides laeuft im Compositor. Die frueher
     animierte clip-path-Maske musste in jedem Frame neu gerastert werden
     und ruckelte deshalb sichtbar. */
  animation: angle-in-tr 720ms var(--motion-ease) backwards;
  will-change: opacity, transform;
}

.angle-frame::before {
  top: -18px;
  right: -18px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
}

.angle-frame::after {
  bottom: -18px;
  left: -18px;
  border-bottom: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  animation-name: angle-in-bl;
  animation-delay: 110ms;
}

.on-dark .angle-frame::before,
.section-dark .angle-frame::before {
  border-top-color: var(--mint);
  border-right-color: var(--mint);
}

.on-dark .angle-frame::after,
.section-dark .angle-frame::after {
  border-bottom-color: var(--mint);
  border-left-color: var(--mint);
}

@keyframes angle-in-tr {
  from { opacity: 0; transform: translate3d(-14px, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes angle-in-bl {
  from { opacity: 0; transform: translate3d(14px, -14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ---- Fallstudien-Hero: Screenshot auf den lesbaren Ausschnitt beschnitten ----
   Die Quelle ist 1200 x 491 und damit sehr breit. In der schmalen Hero-Spalte
   schnitt `object-fit: cover` vorher quer durch die Headline. Sichtbar bleibt
   jetzt genau der Bereich x 165–1015 / y 0–445: Logo, Navigation, Ueberschrift,
   Buttons und Vertrauenszeile. Das leere Dachfoto rechts und der leere Streifen
   unten fallen weg. Der Zuschnitt laeuft ueber Positionierung, damit srcset,
   AVIF/WebP und Dateigroessen unveraendert bleiben. */
@media (min-width: 981px) {
  .page-case .hero-grid { grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr); }
}

.page-case .hero-visual-shot {
  position: relative;
  min-height: 0;
  aspect-ratio: 850 / 445;
}

/* Beschnitten wird im <picture>, nicht in der Figur — sonst wuerden die
   Eckwinkel, die bewusst 18px ausserhalb liegen, mit weggeschnitten. */
.page-case .hero-visual-shot picture {
  position: absolute;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  inset: 0;
}

.page-case .hero-visual-shot img {
  position: absolute;
  top: 0;
  left: -19.41%;    /* 165 / 850 */
  width: 141.18%;   /* 1200 / 850 */
  max-width: none;  /* sonst greift die globale Deckelung auf 100% */
  min-height: 0;
  height: auto;
  border-radius: 0;
  object-fit: fill;
}

.content-section { padding: var(--section) 0; }
.content-section + .content-section { border-top: 1px solid var(--line); }
.content-section h2 { max-width: 17ch; }
.content-section > .wrap > p,
.content-section .section-intro { max-width: var(--content-measure); color: var(--muted); }

.split-grid {
  display: grid;
  grid-template-columns: minmax(260px, .76fr) minmax(0, 1.24fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.split-grid > header { position: sticky; top: 118px; }
.split-grid > header p { color: var(--muted); }

.insight-ledger { border-top: 1px solid var(--line-strong); }
.insight-row {
  display: grid;
  grid-template-columns: minmax(160px, .62fr) minmax(0, 1.38fr);
  gap: clamp(24px, 4vw, 58px);
  padding: clamp(26px, 4vw, 42px) 0;
  border-bottom: 1px solid var(--line);
}
.insight-row h3 { margin: 0; font-size: clamp(1.16rem, 1.7vw, 1.42rem); }
.insight-row p { max-width: var(--content-measure); margin-bottom: 0; color: var(--muted); }

.project-stage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}
.project-stage img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-stage-copy { padding: clamp(28px, 4vw, 48px); }
.project-stage-copy > img { width: auto; max-width: 200px; height: 56px; margin-bottom: 28px; object-fit: contain; }
.project-stage-copy p { color: var(--muted); }

.project-signals {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.project-signals li {
  display: grid;
  grid-template-columns: minmax(130px, .42fr) minmax(0, 1.58fr);
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.project-signals strong { color: var(--navy); font-size: .84rem; }
.project-signals span { color: var(--muted); font-size: .9rem; }

.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.reference-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  transition: transform 200ms var(--motion-ease), box-shadow 200ms ease, border-color 200ms ease;
}
.reference-panel:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
/* Descendant statt Kindselektor: die Bilder liegen in <picture>, dadurch
   griff die Regel nicht. Ohne sie blieb das height-Attribut als
   Praesentationshinweis stehen und hat das Bild vertikal gestreckt. */
.reference-panel picture { display: block; }
.reference-panel img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.reference-panel:first-child img { object-position: left top; }
.reference-panel:nth-child(2) img { object-position: center top; }
.reference-panel-body { display: flex; padding: clamp(28px, 4vw, 42px); flex: 1; flex-direction: column; }
.reference-panel-logo { display: flex; height: 64px; margin-bottom: 22px; align-items: center; border-bottom: 1px solid var(--line); }
.reference-panel-logo img { width: auto; max-width: 180px; max-height: 46px; object-fit: contain; }
.reference-panel-body p { color: var(--muted); }
.reference-panel-body .text-link { margin-top: auto; align-self: flex-start; }

.case-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  border-top: 1px solid rgba(255,255,255,.24);
  border-bottom: 1px solid rgba(255,255,255,.24);
}
.case-fact { padding: 20px 22px 20px 0; }
.case-fact + .case-fact { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.2); }
.case-fact strong { display: block; color: var(--white); font-size: .9rem; }
.case-fact span { display: block; margin-top: 5px; color: var(--ink-lead-on-deep); font-size: .78rem; line-height: 1.45; }

.comparison-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}
.comparison-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.comparison-table th,
.comparison-table td { padding: 20px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th { background: var(--pale-blue); color: var(--navy); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.comparison-table td:nth-child(n+2) { white-space: nowrap; }
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table strong { color: var(--navy); }

/* Branchen-Pillar: kompakter Datenbeleg statt dreigeteilter Leerflaeche */
.pillar-proof-section { padding-block: clamp(72px, 7vw, 104px); }
.pillar-proof-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .62fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 48px);
}
.pillar-proof-heading h2 {
  max-width: 13ch;
  margin: 0;
}
.pillar-proof-heading p {
  max-width: 46ch;
  margin: 0 0 5px;
  color: var(--muted);
}
.pillar-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: stretch;
}
.pillar-proof-data {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.pillar-proof-reading {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.62;
}
.pillar-proof-photo {
  width: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: 1;
}
.pillar-proof-photo img { object-position: 48% 38%; }
.pillar-proof-conclusion {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line-strong);
}
.pillar-proof-conclusion strong {
  color: var(--navy);
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.35;
}
.pillar-proof-conclusion p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
}

.package-comparison .comparison-table td:nth-child(n+2) { white-space: normal; }
.package-comparison .comparison-table td:nth-child(3) { min-width: 175px; }
.package-comparison .comparison-table td:nth-child(4) { min-width: 128px; }
.package-comparison .comparison-table td span { color: var(--muted); font-size: .84rem; }
.package-status {
  display: block;
  width: fit-content;
  margin-top: 8px;
  padding: 4px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.package-guidance {
  max-width: 64ch;
  margin: 24px 0 10px;
  color: var(--muted);
}

.package-grid { display: grid; gap: 24px; }
.package-detail {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
}
.package-summary { padding: clamp(30px, 4vw, 48px); }
.package-summary h3 { max-width: 12ch; }
.package-price { margin: 26px 0 8px; color: var(--navy); font-size: clamp(2.4rem, 4.5vw, 4.15rem); font-weight: 650; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.package-price small { display: block; margin-top: 10px; font-size: .86rem; letter-spacing: 0; }
.package-terms { margin-bottom: 0; color: var(--muted); font-size: .86rem; }
.package-includes { padding: clamp(30px, 4vw, 48px); background: var(--pale-blue); }
.package-includes ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.package-includes li { position: relative; padding-left: 24px; color: var(--navy); font-size: .92rem; }
.package-includes li::before { position: absolute; left: 0; color: var(--blue); content: "✓"; font-weight: 800; }
.package-includes ul + p { margin: clamp(28px, 3vw, 38px) 0 0; padding-top: clamp(20px, 2.4vw, 26px); border-top: 1px solid rgba(43, 83, 243, .14); }

.profile-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: clamp(50px, 8vw, 104px);
  align-items: start;
}
.profile-grid > *,
.contact-layout > * { min-width: 0; }
.profile-photo { position: relative; margin: 18px; }
.profile-photo img { width: 100%; border-radius: 20px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; }
.profile-copy p { max-width: var(--content-measure); }

.credential-strip {
  display: grid;
  /* minmax(0, 1fr) statt 1fr: sonst verhindert das auto-Minimum der Spalten,
     dass die Karten unter ihre Inhaltsbreite schrumpfen (Ueberlauf ab 768 px). */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.credential { padding: 28px; }
.credential + .credential { border-left: 1px solid var(--line); }
.credential strong { display: block; color: var(--navy); }
.credential span { display: block; margin-top: 7px; color: var(--muted); font-size: .86rem; }

.form-card {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}
.form-card h2 { margin-bottom: 12px; }
.form-card > p { color: var(--muted); }
.form-stack { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--navy); font-size: .84rem; font-weight: 750; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
.form-field textarea { min-height: 144px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--blue); outline: 3px solid rgba(43,83,243,.18); outline-offset: 1px; }
.form-consent-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.form-consent-row input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.form-card button { width: 100%; border: 0; cursor: pointer; }
.form-card button[aria-busy="true"] { cursor: wait; opacity: .8; }
.form-status { margin: 18px 0 0; padding: 16px; border: 1px solid var(--navy); border-radius: 4px; color: var(--navy); background: var(--pale-blue); font-size: .86rem; }

.contact-aside { position: sticky; top: 118px; }
.contact-methods { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.contact-method { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-method strong { display: block; color: var(--navy); font-size: .8rem; }
.contact-method a,
.contact-method span { display: inline-flex; min-height: 44px; align-items: center; color: var(--blue); font-weight: 700; }

.check-scope { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.check-item { padding: clamp(24px, 3vw, 34px); background: var(--white); }
.check-item strong { display: block; margin-bottom: 7px; color: var(--navy); }
.check-item p { margin: 0; color: var(--muted); font-size: .9rem; }

.placeholder-hero { text-align: left; }
.placeholder-hero h1 { max-width: 15ch; }
.placeholder-stamp { display: inline-flex; min-height: 34px; padding: 0 12px; align-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; color: var(--mint); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.article-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-lift);
  transition: border-color 180ms var(--motion-ease), box-shadow 180ms var(--motion-ease), transform 180ms var(--motion-ease);
}
.article-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--pale-blue);
}
.article-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-card-body {
  display: flex;
  min-height: 290px;
  padding: clamp(24px, 2.6vw, 32px);
  flex: 1;
  flex-direction: column;
}
.article-card h2 { max-width: none; margin-bottom: 14px; font-size: clamp(1.4rem, 1.85vw, 1.85rem); }
.article-card p { color: var(--muted); }
.article-card .text-link { margin-top: auto; align-self: flex-start; }
.article-card .text-link::before { position: absolute; inset: 0; content: ""; }
.article-status { margin-bottom: 18px; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-card-cta { background: var(--pale-blue); }
.article-card-cta .article-card-body { justify-content: center; }
.article-card:has(.text-link:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .article-card:hover {
    border-color: var(--line-strong);
    box-shadow: 0 8px 24px rgb(11 37 69 / .12);
    transform: translateY(-2px);
  }
}

.inline-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  padding: clamp(30px, 4vw, 46px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--pale-blue);
}
.inline-cta h2 { margin-bottom: 10px; font-size: clamp(1.75rem, 2.7vw, 2.7rem); }
.inline-cta p { margin: 0; color: var(--muted); }

/* Ausgewogener Zeilenumbruch statt Schusterjunge */
.u-balance { text-wrap: balance; }

/* CTA-Variante mit Bild */
.inline-cta-media {
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: clamp(26px, 3.2vw, 46px);
  padding: clamp(18px, 1.8vw, 22px);
  align-items: stretch;
}
.inline-cta-figure { align-self: stretch; overflow: hidden; border-radius: 14px; background: var(--white); }
.inline-cta-figure img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.inline-cta-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(22px, 2.4vw, 30px);
  padding: clamp(16px, 2vw, 26px) clamp(6px, 1.6vw, 24px) clamp(16px, 2vw, 26px) 0;
}
.inline-cta-body h2 { max-width: none; text-wrap: balance; }
.inline-cta-body p { max-width: 52ch; }

.motion-ready .motion-item.motion-pending:not(.is-visible) {
  opacity: .74;
  filter: blur(5px);
  transform: translateY(22px);
}
.motion-item {
  transition: opacity 560ms var(--motion-ease), filter 560ms var(--motion-ease), transform 560ms var(--motion-ease);
}
.motion-item.is-visible { opacity: 1; filter: blur(0); transform: translateY(0); }

@media (max-width: 1040px) {
  .pillar-proof-grid { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); }

  .profile-grid,
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 48px; }
  .case-facts { grid-template-columns: 1fr; }
  .case-fact + .case-fact { padding-left: 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
}

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

@media (max-width: 760px) {
  .pillar-proof-heading,
  .pillar-proof-grid,
  .pillar-proof-conclusion {
    grid-template-columns: minmax(0, 1fr);
  }
  .pillar-proof-heading { gap: 16px; }
  .pillar-proof-heading h2 { max-width: 12ch; }
  .pillar-proof-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .pillar-proof-photo img { object-position: 48% 34%; }
  .pillar-proof .comparison-shell {
    margin-inline: -16px;
    border-radius: 0;
    overflow: hidden;
  }
  .pillar-proof .comparison-table {
    min-width: 0;
    table-layout: fixed;
  }
  .pillar-proof .comparison-table th,
  .pillar-proof .comparison-table td { padding: 14px 12px; }
  .pillar-proof .comparison-table th { font-size: .65rem; line-height: 1.35; }
  .pillar-proof .comparison-table th:first-child { width: 48%; }
  .pillar-proof .comparison-table th:nth-child(2) { width: 36%; }
  .pillar-proof .comparison-table th:nth-child(3) { width: 16%; }
  .pillar-proof .comparison-table td:first-child { overflow-wrap: anywhere; }
  .pillar-proof-reading { margin-top: 22px; }
  .pillar-proof-conclusion { gap: 10px; }

  .industry-layout,
  .industry-layout--photo-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .industry-layout > * {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .industry-layout > .industry-photo {
    width: min(100%, 440px);
    justify-self: center;
  }
  .industry-photo { border-radius: 14px; }
  .industry-related { grid-template-columns: 1fr; gap: 28px; }
  .industry-related h2 { max-width: 16ch; }
  .hero-confidence { display: grid; gap: 7px; }
  .hero-visual { min-height: 320px; margin: 12px; }
  .hero-visual img { min-height: 320px; }
  .angle-frame::before,
  .angle-frame::after { width: 48px; height: 48px; }
  .angle-frame::before { top: -12px; right: -12px; }
  .angle-frame::after { bottom: -12px; left: -12px; }
  .split-grid,
  .profile-grid,
  .contact-layout,
  .package-detail,
  .insight-row { grid-template-columns: 1fr; }
  .split-grid > header,
  .contact-aside { position: static; }
  .reference-grid,
  .check-scope,
  .credential-strip { grid-template-columns: 1fr; }
  .credential + .credential { border-top: 1px solid var(--line); border-left: 0; }
  .project-signals li { grid-template-columns: 1fr; gap: 4px; }
  .comparison-shell { margin-inline: -16px; border-right: 0; border-left: 0; border-radius: 0; overflow-x: auto; }
  .comparison-table { min-width: 720px; }
  .package-comparison {
    overflow: visible;
    margin-inline: 0;
    border: 0;
    background: transparent;
  }
  .package-comparison .comparison-table { min-width: 0; }
  .package-comparison .comparison-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .package-comparison .comparison-table,
  .package-comparison .comparison-table tbody,
  .package-comparison .comparison-table tr,
  .package-comparison .comparison-table td {
    display: block;
    width: 100%;
  }
  .package-comparison .comparison-table tbody { display: grid; gap: 14px; }
  .package-comparison .comparison-table tr {
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
  }
  .package-comparison .comparison-table td {
    display: grid;
    grid-template-columns: minmax(104px, .55fr) minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .package-comparison .comparison-table tr:last-child td:not(:last-child) { border-bottom: 1px solid var(--line); }
  .package-comparison .comparison-table td:last-child { border-bottom: 0; }
  .package-comparison .comparison-table td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .04em;
    line-height: 1.5;
    text-transform: uppercase;
  }
  .package-comparison .comparison-table td:first-child {
    display: block;
    padding-top: 6px;
  }
  .package-comparison .comparison-table td:first-child::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .inline-cta { grid-template-columns: 1fr; }
  .inline-cta .button { width: 100%; }
  .inline-cta-body { padding: 6px 8px 14px; }
  .inline-cta-body .button { text-align: center; }
}

@media (max-width: 580px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-card { width: min(100%, 400px); justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .article-card { transition: none; }
  .article-card:hover { transform: none; }
  .industry-photo img,
  .industry-related-list a::after { transition: none; }
  .industry-photo:hover img { transform: none; }
  .angle-frame::before,
  .angle-frame::after { animation: none; }
  .motion-ready .motion-item.motion-pending:not(.is-visible),
  .motion-item { opacity: 1; filter: none; transform: none; transition: none; }
}

/* --- Branchen-Pillar: Substanz-Marker je Branchenkarte ------------------- */
.branchen-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border: 1px solid var(--line, #d5dfe9);
  border-radius: 999px;
  background: rgba(11, 37, 69, .04);
  color: var(--navy, #0b2545);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
}
