/* Scoped preview: three sections on Firmenrechtsschutz only. */
.firma-refined {
  --fr-surface:#fff; --fr-subtle:#f5f5f7; --fr-text:#1d1d1f;
  --fr-muted:#64646b; --fr-line:#dedee3; --fr-blue:#2864c9;
  color:var(--fr-text); padding:40px 24px; scroll-margin-top:110px;
}
html[data-theme="dark"] .firma-refined {
  --fr-surface:#1d1d1f; --fr-subtle:#242426; --fr-text:#f5f5f7;
  --fr-muted:#b0b0b7; --fr-line:#3a3a3f; --fr-blue:#8ab6ff;
}
.firma-refined .fr-wrap {max-width:1280px; margin-inline:auto; min-width:0;}
.firma-refined :is(h2,h3,p) {margin:0; color:inherit;}
.firma-refined :is(h2,h3) {font-weight:600; letter-spacing:-.035em; text-wrap:balance;}
.firma-refined p {font-size:15px; line-height:1.75; color:var(--fr-muted);}
.firma-refined .fr-eyebrow {display:block; font-size:11px; font-weight:650; line-height:1.5; letter-spacing:.12em; text-transform:uppercase; color:var(--fr-muted);}
.firma-refined a {color:var(--fr-blue); text-decoration:none;}
.firma-refined p a {text-decoration:underline; text-underline-offset:4px;}
.firma-refined .fr-link {display:inline-flex; align-items:center; min-height:44px; width:fit-content; gap:8px; font-size:14px; font-weight:600; transition:color 180ms ease;}
.firma-refined .fr-link:hover {text-decoration:underline; text-underline-offset:5px;}
.firma-refined a:focus-visible {outline:2px solid var(--fr-blue); outline-offset:5px; border-radius:4px;}
.firma-refined .fr-button {display:inline-flex; width:fit-content; align-items:center; min-height:44px; padding:10px 18px; border-radius:24px; background:#4075d6; color:#fff; font-size:14px; font-weight:600; transition:background 180ms ease,transform 160ms cubic-bezier(.23,1,.32,1);}
.firma-refined .fr-button:hover {background:#3264c0;}
.firma-refined .fr-button:active {transform:scale(.98);}
/* One compact surface, three balanced columns. No oversized certificate tile. */
.firma-refined .fr-proof-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:28px 0; border:1px solid var(--fr-line); border-radius:24px; background:var(--fr-surface);}
.firma-refined .fr-proof-item {display:flex; flex-direction:column; gap:12px; padding:0 28px; min-width:0;}
.firma-refined .fr-proof-item + .fr-proof-item {border-left:1px solid var(--fr-line);}
.firma-refined .fr-proof-top {display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:52px;}
.firma-refined .fr-proof-item :is(h2,h3) {font-size:23px; line-height:1.2;}
.firma-refined .fr-proof-item p {font-size:14px; line-height:1.7;}
.firma-refined .fr-proof-item > a {margin-top:auto;}
.firma-refined .fr-stars {font-size:17px; letter-spacing:1px; color:#b57a13; white-space:nowrap;}
html[data-theme="dark"] .firma-refined .fr-stars {color:#e7b659;}
.firma-refined .fr-seal {display:flex; width:52px; height:52px; flex:0 0 52px; padding:5px; background:#fff; border-radius:9px;}
.firma-refined .fr-seal img {display:block; width:100%; height:100%; object-fit:contain;}
/* A reading sequence, not four competing clickable cards. */
.firma-refined.fr-process {padding-block:64px;}
.firma-refined .fr-process-grid {display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(36px,6vw,100px); align-items:start;}
.firma-refined .fr-process-intro {padding-top:22px;}
.firma-refined .fr-process-intro h2 {font-size:clamp(32px,3.5vw,48px); line-height:1.08; margin:18px 0; max-width:430px;}
.firma-refined .fr-process-intro p {max-width:440px; font-size:16px;}
.firma-refined .fr-steps {list-style:none; margin:0; padding:0; border-top:1px solid var(--fr-line);}
.firma-refined .fr-step {display:grid; grid-template-columns:36px minmax(0,1fr); gap:20px; padding:24px 0; border-bottom:1px solid var(--fr-line);}
.firma-refined .fr-step-number {font-size:15px; line-height:28px; font-weight:600; font-variant-numeric:tabular-nums; color:var(--fr-blue);}
.firma-refined .fr-step h3 {font-size:22px; line-height:1.3; margin-bottom:6px;}
.firma-refined .fr-step .fr-link {margin-top:8px;}
/* Two photo stories with the same image baseline, then a compact editorial row. */
.firma-refined .fr-features {display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:20px;}
.firma-refined .fr-feature {display:grid; grid-template-rows:1fr 240px; min-width:0; overflow:hidden; border:1px solid var(--fr-line); border-radius:28px; background:var(--fr-surface);}
.firma-refined .fr-feature-copy {padding:32px; display:flex; flex-direction:column; align-items:flex-start;}
.firma-refined .fr-feature h2 {font-size:clamp(27px,2.7vw,37px); line-height:1.13; margin:16px 0;}
.firma-refined .fr-feature h3 {font-size:clamp(25px,2.4vw,32px); line-height:1.16; margin:16px 0;}
.firma-refined .fr-feature .fr-link {margin-top:16px;}
.firma-refined .fr-feature-image {overflow:hidden; min-width:0; background:var(--fr-subtle);}
.firma-refined .fr-feature-image img {display:block; width:100%; height:100%; object-fit:cover; object-position:center; transition:transform 600ms cubic-bezier(.23,1,.32,1);}
.firma-refined .fr-feature-1 .fr-feature-image img {object-position:center 25%;}
.firma-refined .fr-notes {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:24px; padding:28px 0; border-block:1px solid var(--fr-line);}
.firma-refined .fr-note {padding-inline:28px; min-width:0;}
.firma-refined .fr-note:first-child {padding-left:0;}
.firma-refined .fr-note:last-child {padding-right:0;}
.firma-refined .fr-note + .fr-note {border-left:1px solid var(--fr-line);}
.firma-refined .fr-note h3 {font-size:23px; line-height:1.25; margin:12px 0;}
@media(hover:hover) and (pointer:fine) {
  .firma-refined .fr-feature:hover .fr-feature-image img {transform:scale(1.025);}
}
@media(max-width:960px) {
  .firma-refined .fr-proof-item {padding-inline:20px;}
  .firma-refined .fr-proof-top {flex-wrap:wrap; min-height:76px; align-content:center;}
  .firma-refined .fr-feature-copy {padding:26px;}
}
@media(max-width:700px) {
  .firma-refined {padding:28px 20px; scroll-margin-top:100px;}
  .firma-refined .fr-proof-grid {grid-template-columns:1fr; padding:0 24px; border-radius:22px;}
  .firma-refined .fr-proof-item {padding:24px 0; gap:10px;}
  .firma-refined .fr-proof-item + .fr-proof-item {border-left:0; border-top:1px solid var(--fr-line);}
  .firma-refined .fr-proof-top {min-height:42px; flex-wrap:nowrap;}
  .firma-refined .fr-seal {width:44px; height:44px; flex-basis:44px;}
  .firma-refined .fr-proof-item :is(h2,h3) {font-size:22px;}
  .firma-refined.fr-process {padding-block:40px;}
  .firma-refined .fr-process-grid {grid-template-columns:1fr; gap:28px;}
  .firma-refined .fr-process-intro {padding-top:0;}
  .firma-refined .fr-step {gap:12px; grid-template-columns:28px minmax(0,1fr); padding-block:20px;}
  .firma-refined .fr-step h3 {font-size:21px;}
  .firma-refined .fr-features {grid-template-columns:1fr; gap:18px;}
  .firma-refined .fr-feature {grid-template-rows:auto 190px; border-radius:22px;}
  .firma-refined .fr-feature-copy {padding:24px;}
  .firma-refined .fr-feature h2 {font-size:28px;}
  .firma-refined .fr-feature h3 {font-size:26px;}
  .firma-refined .fr-notes {grid-template-columns:1fr; padding:0; margin-top:24px;}
  .firma-refined .fr-note {padding:22px 0;}
  .firma-refined .fr-note + .fr-note {border-left:0; border-top:1px solid var(--fr-line);}
  .firma-refined .fr-note h3 {font-size:22px;}
}
@media(prefers-reduced-motion:reduce) {
  .firma-refined *, .firma-refined *::before {animation:none!important; transition:none!important;}
  .firma-refined .fr-feature:hover .fr-feature-image img {transform:none;}
}
