/*
 * Artikelgestaltung für das Drupal-Theme "finanzberatung".
 * Die Klasse kapselt alle Regeln innerhalb des von Drupal erzeugten article-Elements.
 */
.fk-rechtsschutz {
  --fk-ink: #303030;
  --fk-muted: #686d71;
  --fk-green: #7dab2e;
  --fk-green-dark: #3e5c0c;
  --fk-green-light: #c4e291;
  --fk-green-pale: #e2f4c4;
  --fk-line: #ddd;
  --fk-tint: #f2f2f2;
  --fk-track: #f5f5f5;
  --fk-old: #686d71;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--fk-ink);
  background: transparent;
  font-family: "Fira Sans", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  overflow-wrap: anywhere;
  hyphens: auto;
}

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

.fk-rechtsschutz p,
.page-node-type-article .article .fk-rechtsschutz p {
  margin: 0 0 15px;
}

.fk-rechtsschutz strong { font-weight: 700; }

.fk-rechtsschutz .fk-byline,
.page-node-type-article .article .fk-rechtsschutz .fk-byline {
  margin-bottom: 20px;
  color: var(--fk-muted);
  font-size: 15px;
  line-height: 1.5;
}

.fk-rechtsschutz .fk-lead,
.page-node-type-article .article .fk-rechtsschutz .fk-lead {
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 1.5;
}

.fk-rechtsschutz h2,
.fk-rechtsschutz h3,
.page-node-type-article .article .fk-rechtsschutz h2,
.page-node-type-article .article .fk-rechtsschutz h3 {
  padding: 0;
  border: 0;
  color: #333;
  font-family: "Fira Sans", Helvetica, Arial, sans-serif;
  font-weight: 400;
  text-wrap: pretty;
  scroll-margin-top: 50px;
}

.fk-rechtsschutz h2,
.page-node-type-article .article .fk-rechtsschutz h2 {
  margin: 35px 0 15px;
  font-size: 30px;
  line-height: 1.25;
}

.fk-rechtsschutz h3,
.page-node-type-article .article .fk-rechtsschutz h3 {
  margin: 25px 0 10px;
  font-size: 24px;
  line-height: 1.3;
}

.fk-rechtsschutz ul {
  margin: 0 0 24px;
  padding-left: 24px;
}

.fk-rechtsschutz li { margin-bottom: 8px; }

.fk-rechtsschutz .fk-summary {
  margin-top: 5px;
  padding: 20px 22px 20px 46px;
  border-left: 4px solid var(--fk-green);
  background: var(--fk-tint);
}

.fk-rechtsschutz .fk-summary li:last-child { margin-bottom: 0; }

.fk-rechtsschutz a {
  color: var(--fk-green-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.fk-rechtsschutz a:hover,
.fk-rechtsschutz a:active {
  color: #000;
  text-decoration: underline;
}

.fk-rechtsschutz a:focus-visible {
  outline: 3px solid var(--fk-green-dark);
  outline-offset: 3px;
}

.fk-rechtsschutz table {
  width: 100%;
  margin: 24px 0 30px;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--fk-ink);
  background: transparent;
  font-size: 16px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.fk-rechtsschutz caption {
  padding: 0 0 10px;
  color: #333;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.fk-rechtsschutz th,
.fk-rechtsschutz td {
  padding: 12px;
  border-bottom: 1px solid var(--fk-line);
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
}

.fk-rechtsschutz thead th {
  border-top: 4px solid var(--fk-green);
  border-bottom-color: var(--fk-green-dark);
  background: var(--fk-green-dark);
  color: #fff;
}

.fk-rechtsschutz th:first-child { width: 29%; }
.fk-rechtsschutz tbody th { font-weight: 700; }
.fk-rechtsschutz tbody tr:nth-child(even) { background: var(--fk-tint); }

.fk-rechtsschutz figure {
  margin: 24px 0 30px;
  padding: 20px 22px;
  border: 1px solid #eee;
  border-radius: 0;
  background: #fff;
}

.fk-rechtsschutz figcaption {
  margin-bottom: 18px;
  color: #333;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.fk-rechtsschutz .fk-chart-label,
.page-node-type-article .article .fk-rechtsschutz .fk-chart-label {
  margin: 18px 0 8px;
  color: var(--fk-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.fk-rechtsschutz .fk-bars {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  margin: 0 0 22px;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.fk-rechtsschutz .fk-bars dt {
  margin: 0;
  font-weight: 700;
}

.fk-rechtsschutz .fk-bar {
  --fk-bar-width: 0%;
  --fk-bar-color: var(--fk-green);
  position: relative;
  isolation: isolate;
  min-height: 40px;
  margin: 0;
  padding: 6px 11px;
  border-left: 1px solid var(--fk-muted);
  background-color: var(--fk-track);
  background-image: linear-gradient(to right, transparent calc(100% - 1px), var(--fk-line) calc(100% - 1px));
  background-size: 16.6666667% 100%;
  line-height: 28px;
}

.fk-rechtsschutz .fk-bar::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: var(--fk-bar-width);
  background: var(--fk-bar-color);
}

.fk-rechtsschutz .fk-bar span {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 2px;
  background: #fff;
  color: var(--fk-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
}

/* Ausgangswerte: 21,8 / 30; 26,2 / 30; 4,0 / 6; 5,1 / 6. */
.fk-rechtsschutz .fk-contracts-2015 { --fk-bar-width: 72.6666667%; --fk-bar-color: var(--fk-old); }
.fk-rechtsschutz .fk-contracts-2025 { --fk-bar-width: 87.3333333%; }
.fk-rechtsschutz .fk-claims-2015 { --fk-bar-width: 66.6666667%; --fk-bar-color: var(--fk-old); }
.fk-rechtsschutz .fk-claims-2025 { --fk-bar-width: 85%; }

.fk-rechtsschutz .fk-process ol {
  margin: 0 0 18px;
  padding: 0 0 0 28px;
}

.fk-rechtsschutz .fk-process li {
  position: relative;
  margin: 0 0 27px;
  padding: 11px 14px;
  border-left: 3px solid var(--fk-green);
  background: var(--fk-tint);
  line-height: 1.5;
}

.fk-rechtsschutz .fk-process li::marker {
  color: var(--fk-green-dark);
  font-weight: 700;
}

.fk-rechtsschutz .fk-process li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  bottom: -19px;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--fk-green);
  border-bottom: 2px solid var(--fk-green);
  transform: rotate(45deg);
}

.fk-rechtsschutz .fk-process li:last-child { margin-bottom: 0; }
.fk-rechtsschutz .fk-process li strong { display: block; margin-bottom: 3px; }
.fk-rechtsschutz .fk-process li span { display: block; }

.fk-rechtsschutz .fk-note,
.page-node-type-article .article .fk-rechtsschutz .fk-note {
  color: var(--fk-muted);
  font-size: 15px;
  line-height: 1.55;
}

.fk-rechtsschutz figure .fk-note,
.page-node-type-article .article .fk-rechtsschutz figure .fk-note {
  margin: 14px 0 0;
}

.fk-rechtsschutz .fk-cta,
.page-node-type-article .article .fk-rechtsschutz .fk-cta {
  margin: 24px 0;
}

.fk-rechtsschutz .fk-cta a {
  display: inline-block;
  max-width: 100%;
  padding: 10px 16px 8px;
  border: 1px solid var(--fk-green);
  border-radius: 6px;
  background: var(--fk-green-light);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.fk-rechtsschutz .fk-cta a:hover,
.fk-rechtsschutz .fk-cta a:active {
  border-color: var(--fk-green-light);
  background: var(--fk-green-pale);
  color: #000;
  text-decoration: none;
}

.fk-rechtsschutz address {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--fk-green);
  background: #fff;
  font-style: normal;
}

@media (max-width: 600px) {
  .fk-rechtsschutz h2,
  .page-node-type-article .article .fk-rechtsschutz h2 {
    margin-top: 30px;
    font-size: 26px;
  }

  .fk-rechtsschutz h3,
  .page-node-type-article .article .fk-rechtsschutz h3 {
    font-size: 22px;
  }

  .fk-rechtsschutz .fk-summary {
    padding: 16px 14px 16px 38px;
  }

  .fk-rechtsschutz th,
  .fk-rechtsschutz td { padding: 9px 6px; }
  .fk-rechtsschutz table { font-size: 15px; }
  .fk-rechtsschutz figure { padding: 16px 12px; }
  .fk-rechtsschutz .fk-bars { grid-template-columns: 44px minmax(0, 1fr); gap: 10px 7px; }
  .fk-rechtsschutz .fk-bar { padding-left: 7px; }
}

@media print {
  .fk-rechtsschutz {
    max-width: none;
    color: #000;
    font-size: 10.5pt;
  }

  .fk-rechtsschutz h2,
  .fk-rechtsschutz h3 { break-after: avoid; }
  .fk-rechtsschutz figure,
  .fk-rechtsschutz tr { break-inside: avoid; }
  .fk-rechtsschutz thead { display: table-header-group; }
  .fk-rechtsschutz thead th { background: #fff; color: #000; border-bottom: 2px solid #000; }
  .fk-rechtsschutz .fk-cta a { background: #fff; color: #000; border: 1px solid #000; }
  .fk-rechtsschutz .fk-bar { print-color-adjust: exact; }
}

@media (forced-colors: active) {
  .fk-rechtsschutz .fk-bar::before {
    background: Highlight;
    forced-color-adjust: none;
  }

  .fk-rechtsschutz .fk-bar span {
    background: Canvas;
    color: CanvasText;
  }

  .fk-rechtsschutz .fk-cta a { border: 1px solid ButtonText; }
}