.recht-kopf {
  display: grid;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
  padding-top: clamp(8px, 2vw, 32px);
}
.recht-kopf h1 {
  margin: 0;
  font-size: var(--t-titel);
}
.recht-kopf {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 700px) {
  .recht-kopf h1 {
    font-size: min(var(--t-titel), 8.8vw);
  }
}
.recht-unter {
  margin: 0;
  max-width: 70ch;
  color: var(--text-2);
  font-size: var(--t-16);
  line-height: 1.6;
}
.recht-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}
.recht-reiter {
  display: flex;
  gap: var(--s-1);
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(-1 * var(--s-1));
  padding: var(--s-1);
}
.recht-reiter::-webkit-scrollbar {
  display: none;
}
main .recht-reiter a {
  text-decoration: none;
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 var(--s-3);
  border-radius: var(--r-2);
  color: var(--text-2);
  font: 600 var(--t-14)/1 var(--sans);
  white-space: nowrap;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
main .recht-reiter a:hover {
  color: var(--text);
  background: var(--bg-2);
}
main .recht-reiter a[aria-current=page] {
  color: var(--text);
  background: var(--bg-2);
}
.recht-reiter a.widerruf-reiter {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: transparent;
}
.recht-reiter a.widerruf-reiter:hover {
  border-color: var(--line-input);
  background: var(--bg-2);
}
.recht-reiter a.widerruf-reiter[aria-current=page] {
  border-color: rgba(56, 224, 255, .5);
  color: var(--cyan);
}
.recht-raster {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: var(--s-8);
  align-items: start;
}
.recht-raster.ohne-inhalt {
  grid-template-columns: minmax(0, 1fr);
}
.recht-inhalt {
  position: sticky;
  top: calc(var(--kopf-h) + var(--s-5));
  max-height: calc(100vh - var(--kopf-h) - var(--s-7));
  overflow-y: auto;
  scrollbar-width: thin;
}
.recht-inhalt > summary {
  display: none;
}
.recht-inhalt ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  border-left: 1px solid var(--line);
}
main .recht-inhalt a {
  position: relative;
  text-decoration: none;
  display: block;
  padding: 6px var(--s-3);
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--text-3);
  font-size: var(--t-14);
  line-height: 1.4;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
main .recht-inhalt a:hover {
  color: var(--text);
}
main .recht-inhalt a[aria-current=true] {
  color: var(--text);
}
main .recht-inhalt a::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: var(--verlauf);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
main .recht-inhalt a[aria-current=true]::before {
  opacity: 1;
}
.recht-inhalt a:focus-visible {
  outline-offset: -2px;
}
.recht-text {
  max-width: 74ch;
  min-width: 0;
  overflow-wrap: break-word;
}
.recht-text > section {
  scroll-margin-top: calc(var(--kopf-h) + var(--s-4));
}
.recht-text > section + section {
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.recht-text h2 {
  margin: 0 0 var(--s-4);
  font-size: var(--t-20);
  scroll-margin-top: calc(var(--kopf-h) + var(--s-4));
}
.recht-text h3 {
  margin: var(--s-6) 0 var(--s-3);
  font-size: var(--t-16);
  scroll-margin-top: calc(var(--kopf-h) + var(--s-4));
}
.recht-text h2 + h3 {
  margin-top: var(--s-4);
}
.recht-text p,
.recht-text li,
.recht-text dd {
  color: var(--text-2);
  line-height: 1.7;
}
.recht-text p {
  margin: 0 0 var(--s-4);
}
.recht-text strong,
.recht-text b {
  color: var(--text);
  font-weight: 600;
}
.recht-text ul,
.recht-text ol {
  margin: 0 0 var(--s-4);
  padding-left: 1.3em;
}
.recht-text li + li {
  margin-top: var(--s-1);
}
.recht-text li::marker {
  color: var(--text-3);
}
.recht-text address {
  font-style: normal;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 var(--s-4);
}
.recht-text p.belehrung-ende {
  text-align: center;
  color: var(--text);
  font-weight: 600;
  margin: var(--s-6, 24px) 0 0;
}
.recht-text code {
  font-family: var(--mono);
  font-size: .9em;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  padding: 1px 5px;
  white-space: nowrap;
}
.recht-text a:not([class]) {
  overflow-wrap: anywhere;
}
.recht-text .klein-hinweis {
  color: var(--text-3);
  font-size: var(--t-14);
}
.recht-karte {
  margin: 0 0 var(--s-5);
  padding: var(--s-5);
  border-radius: var(--r-3);
  background: var(--flaeche);
  box-shadow: var(--tiefe-1);
}
.recht-karte > :last-child {
  margin-bottom: 0;
}
.recht-karte h3:first-child,
.recht-karte h2:first-child {
  margin-top: 0;
}
.recht-karten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
  max-width: 100%;
}
.recht-karten .recht-karte {
  margin: 0;
}
.recht-karten h2 {
  font-size: var(--t-16);
}
.recht-text > .recht-karten + section {
  margin-top: var(--s-7);
}
.recht-liste {
  display: grid;
  grid-template-columns: minmax(120px, max-content) minmax(0, 1fr);
  gap: var(--s-2) var(--s-5);
  margin: 0;
}
.recht-liste dt {
  color: var(--text-3);
  font-size: var(--t-14);
  line-height: 1.7;
}
.recht-liste dd {
  margin: 0;
  color: var(--text);
}
.recht-kurz {
  list-style: none;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}
.recht-kurz li {
  margin: 0 !important;
  padding: var(--s-4);
  border-radius: var(--r-3);
  background: var(--flaeche);
  box-shadow: var(--tiefe-1);
  color: var(--text-2);
  font-size: var(--t-14);
  line-height: 1.55;
}
.recht-kurz li b {
  display: block;
  margin-bottom: var(--s-1);
  color: var(--text);
  font-size: var(--t-16);
}
.recht-tabelle {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 0 var(--s-5);
  font-size: var(--t-14);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.recht-tabelle th,
.recht-tabelle td {
  padding: var(--s-3);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}
.recht-tabelle th {
  background: var(--bg-2);
  color: var(--text-3);
  font-weight: 600;
  font-size: var(--t-12);
}
.recht-tabelle td {
  color: var(--text-2);
  border-top: 1px solid var(--line);
}
.recht-tabelle td:first-child {
  color: var(--text);
}
.recht-tabelle tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, .012);
}
.recht-aktion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-5);
  margin: 0 0 var(--s-6);
  padding: var(--s-5);
  border-radius: var(--r-3);
  background: var(--cyan-grund);
}
.recht-aktion p {
  flex: 1 1 300px;
  margin: 0;
  color: var(--text-2);
}
.recht-aktion p b {
  display: block;
  color: var(--text);
  font-size: var(--t-16);
  margin-bottom: 2px;
}
.muster {
  margin: 0 0 var(--s-5);
  padding: var(--s-5);
  border-radius: var(--r-3);
  border: 1.5px dashed var(--line-2);
  background: var(--bg-0);
}
.muster h3 {
  margin-top: 0;
}
.muster ul {
  list-style: none;
  padding: 0;
}
.muster li {
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--line);
}
.muster li:last-child {
  border-bottom: 0;
}
.schritte {
  list-style: none;
  counter-reset: schritt;
  padding: 0 !important;
  display: grid;
  gap: var(--s-2);
}
.schritte > li {
  counter-increment: schritt;
  position: relative;
  margin: 0 !important;
  padding: var(--s-3) var(--s-4) var(--s-3) 52px;
  border-radius: var(--r-1);
  background: var(--flaeche);
  box-shadow: var(--licht-kante);
}
.schritte > li::before {
  content: counter(schritt);
  position: absolute;
  left: var(--s-3);
  top: var(--s-3);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--text);
  font: 700 var(--t-12)/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.schritte > li b {
  color: var(--text);
}
.schritt-plus {
  position: relative;
  display: grid;
  gap: var(--s-2);
  margin: var(--s-2) 0 0;
  padding: var(--s-3) var(--s-4) var(--s-3) 52px;
  border-radius: var(--r-1);
  background: var(--flaeche);
  box-shadow: var(--licht-kante);
}
.schritt-plus::before {
  content: "+";
  position: absolute;
  left: var(--s-3);
  top: var(--s-3);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--text);
  font: 700 var(--t-14)/1 var(--sans);
}
.schritt-plus p {
  margin: 0;
}
.schritt-plus strong {
  color: var(--text);
}
.recht-text details.panel {
  margin: 0 0 var(--s-3);
}
.recht-text details.panel + details.panel {
  margin-top: var(--s-3);
}
.recht-text details.panel .panel-kopf h3 {
  margin: 0;
  font-size: var(--t-16);
}
.recht-text details.panel .panel-kopf .meta {
  font-size: var(--t-12);
}
.widerruf-raster {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(260px, 1fr);
  gap: var(--s-7);
  align-items: start;
}
.widerruf-form {
  display: grid;
  gap: var(--s-5);
  padding: var(--s-6);
  border-radius: var(--r-3);
  background: var(--flaeche);
  box-shadow: var(--tiefe-2);
}
.widerruf-form .feld-name small {
  margin-left: 6px;
}
.widerruf-form .knopf-gross {
  width: 100%;
}
.widerruf-unter {
  margin: 0;
  color: var(--text-3);
  font-size: var(--t-12);
  line-height: 1.6;
}
main .widerruf-unter a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
main .widerruf-unter a:hover {
  color: var(--text);
}
.kaufwahl {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: 2px;
}
.kaufwahl > .feld-hilfe {
  flex-basis: 100%;
}
.kaufwahl button {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 36px;
  padding: 0 var(--s-3);
  border-radius: var(--r-2);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  font: 500 var(--t-12)/1.2 var(--sans);
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.kaufwahl button:hover {
  color: var(--text);
  border-color: var(--line-input);
}
.kaufwahl button[aria-pressed=true] {
  color: var(--cyan);
  border-color: rgba(56, 224, 255, .55);
}
.kaufwahl button .mono {
  color: var(--text);
  font-size: var(--t-12);
}
.widerruf-seite {
  display: grid;
  gap: var(--s-4);
}
.widerruf-seite h2 {
  margin: 0;
  font-size: var(--t-16);
}
.widerruf-seite .karte > h2 + * {
  margin-top: var(--s-2);
}
.widerruf-seite ol {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: var(--s-2);
  color: var(--text-2);
  font-size: var(--t-14);
  line-height: 1.6;
}
.widerruf-seite p {
  margin: 0;
  color: var(--text-2);
  font-size: var(--t-14);
  line-height: 1.6;
}
.widerruf-seite a:not([class]) {
  overflow-wrap: anywhere;
}
.widerruf-ergebnis {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-6);
  border-radius: var(--r-3);
  background: var(--gut-grund);
}
.widerruf-ergebnis h2 {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin: 0;
  font-size: var(--t-20);
}
.widerruf-ergebnis h2 .ik {
  width: 22px;
  height: 22px;
  color: var(--gut);
}
.widerruf-ergebnis p {
  margin: 0;
  color: var(--text-2);
}
.widerruf-ergebnis b {
  color: var(--text);
}
.widerruf-ergebnis .hinweis {
  background: var(--bg-1);
}
.kuendigen-art {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.kuendigen-art .stufen {
  margin-top: var(--s-2);
}
.kuendigen-knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
@media (max-width: 520px) {
  .kuendigen-art .stufen {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media print {
  body[data-gekuendigt] .kopf,
  body[data-gekuendigt] .fuss,
  body[data-gekuendigt] .recht-kopf,
  body[data-gekuendigt] .widerruf-seite,
  body[data-gekuendigt] .kuendigen-knoepfe {
    display: none !important;
  }
}
@media (max-width: 1100px) {
  .recht-raster {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-5);
  }
  .recht-inhalt {
    position: static;
    max-height: none;
    overflow: visible;
    padding: var(--s-3) var(--s-4);
    border-radius: var(--r-3);
    background: var(--bg-1);
    max-width: 74ch;
  }
  .recht-inhalt > summary {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    min-height: 44px;
    cursor: pointer;
    list-style: none;
    color: var(--text);
    font: 600 var(--t-14)/1 var(--sans);
  }
  .recht-inhalt > summary::-webkit-details-marker {
    display: none;
  }
  .recht-inhalt > summary .ik {
    color: var(--cyan);
    transition: transform .2s var(--ease);
  }
  .recht-inhalt:not([open]) > summary .ik {
    transform: rotate(-90deg);
  }
  .recht-inhalt ol {
    margin-top: var(--s-2);
  }
  html[data-js] .recht-inhalt:not([data-bereit]) > :not(summary) {
    display: none;
  }
  html[data-js] .recht-inhalt:not([data-bereit]) > summary .ik {
    transform: rotate(-90deg);
  }
  .widerruf-raster {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-6);
  }
}
@media (max-width: 700px) {
  .recht-reiter {
    flex-wrap: wrap;
    overflow: visible;
  }
  main .recht-reiter a {
    height: 44px;
    padding: 0 var(--s-2);
    font-size: var(--t-12);
  }
  .recht-kurz,
  .recht-karten {
    grid-template-columns: minmax(0, 1fr);
  }
  .recht-liste {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .recht-liste dd {
    margin-bottom: var(--s-3);
  }
  .widerruf-form {
    padding: var(--s-4);
    border-radius: var(--r-3);
  }
  .widerruf-ergebnis {
    padding: var(--s-4);
  }
  .recht-aktion .knopf {
    width: 100%;
  }
  .recht-tabelle,
  .recht-tabelle tbody,
  .recht-tabelle tr,
  .recht-tabelle td {
    display: block;
    width: 100%;
  }
  .recht-tabelle {
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .recht-tabelle thead {
    display: none;
  }
  .recht-tabelle tr {
    margin-bottom: var(--s-3);
    border-radius: var(--r-3);
    background: var(--bg-1);
    overflow: hidden;
  }
  .recht-tabelle td {
    border-top: 1px solid var(--line);
    padding: var(--s-2) var(--s-3);
  }
  .recht-tabelle td:first-child {
    border-top: 0;
    background: var(--bg-2);
    font-weight: 600;
  }
  .recht-tabelle tbody tr:nth-child(even) td {
    background: transparent;
  }
  .recht-tabelle tbody tr td:first-child {
    background: var(--bg-2);
  }
  html[lang=de] .recht-tabelle td[data-de]:not(:first-child)::before {
    content: attr(data-de);
  }
  html[lang=en] .recht-tabelle td[data-en]:not(:first-child)::before {
    content: attr(data-en);
  }
  .recht-tabelle td:not(:first-child)::before {
    display: block;
    color: var(--text-3);
    font-size: var(--t-12);
    font-weight: 600;
  }
  .recht-text code {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
