/* StundensatzCheck.de */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben. Petrol nur für Hero-Flächen, Haupt-Buttons und aktive Zustände,
     Gelb nur für die Ersparnis im Rechner. */
  --white: #ffffff;
  --light: #faf8f5;
  --ink: #1b1b1b;
  --grey: #666666;
  --line: #e6e5e3;
  --border: #8f8f8f;
  --teal: #0a7468;
  --teal-dark: #075f56;
  --teal-tint: #e8f2f0;
  --on-teal: #e6f2f0;
  --marker: #ffda44;
  --error: #d80027;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wide: 125%;

  --fs-xs: 0.8125rem;
  --fs-s: 0.875rem;
  --fs-m: 1rem;
  --fs-l: 1.125rem;
  --fs-xl: 1.5rem;
  --fs-2xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  --fs-display: clamp(2.25rem, 1.4rem + 3.4vw, 3.625rem);

  --r-card: 4px;
  --r-button: 6px;
  --r-field: 4px;

  --gutter: 1rem;
  --max: 72rem;
  --section: clamp(4rem, 3rem + 3.5vw, 5.5rem);
}

@media (min-width: 640px) {
  :root { --gutter: 2rem; }
}

/* Grundlagen */

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-m);
  line-height: 1.5;
  letter-spacing: -0.008em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, dl, dd, figure { margin: 0; }

h1, h2, h3 {
  font-weight: 500;
  font-stretch: var(--wide);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { color: var(--teal-dark); }

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

button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.hero :focus-visible,
.closing :focus-visible { outline-color: var(--white); }

.check :focus-visible { outline-color: var(--teal); }

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

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

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--r-button);
}

.skip-link:focus { top: 1rem; color: var(--white); }

.icon { flex: none; }
.icon__mark { stroke: var(--teal); }

/* Hinweisleiste, solange config.php Platzhalter enthält */

.setup-note {
  padding-block: 0.75rem;
  font-size: var(--fs-s);
  color: var(--white);
  background: var(--ink);
}

.setup-note code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* Kopf (bewusst nicht sticky) */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover { color: var(--ink); }
.brand__mark { flex: none; color: var(--teal); }

.brand__name {
  font-size: 1.0625rem;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
  font-size: var(--fs-s);
}

.site-header__nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-header__nav a:hover { text-decoration: underline; }

.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-header__phone .icon { width: 18px; height: 18px; color: var(--teal); }

@media (max-width: 639px) {
  .site-header__nav a:not(.site-header__phone) { display: none; }
}

@media (max-width: 399px) {
  .brand__name { font-size: 0.9375rem; }

  .site-header__phone {
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    margin-right: -0.75rem;
  }

  .site-header__phone span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* Hero */

.hero {
  padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  color: var(--white);
  background: var(--teal);
}

.hero__grid {
  display: grid;
  grid-template-areas: "intro" "check" "more";
  gap: 2rem;
}

.hero__intro { grid-area: intro; }
.hero__more { grid-area: more; }

.hero__audience {
  margin-bottom: 1.25rem;
  font-size: var(--fs-s);
  font-weight: 500;
  color: var(--on-teal);
}

.hero h1 {
  font-size: var(--fs-display);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero__lead {
  max-width: 32rem;
  margin-top: 1.5rem;
  font-size: var(--fs-l);
  line-height: 1.55;
}

.hero__facts {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__facts li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
}

.hero__facts .icon { color: var(--white); }

.hero__provider {
  max-width: 32rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  font-size: var(--fs-s);
  color: var(--on-teal);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__provider a { color: var(--white); }
.hero__provider a:hover { color: var(--white); text-decoration-thickness: 2px; }

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 32rem);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "intro check"
      "more check";
    column-gap: clamp(3rem, 6vw, 6rem);
    row-gap: 2.5rem;
    align-items: start;
  }

  .hero__intro { padding-top: 1.5rem; }
}

/* Rechner-Karte */

.check {
  grid-area: check;
  width: 100%;
  max-width: 40rem;
  padding: clamp(1.25rem, 0.9rem + 1.5vw, 2rem);
  color: var(--ink);
  background: var(--white);
  border-radius: var(--r-card);
  container-type: inline-size;
  scroll-margin-top: 1rem;
}

.check__head { margin-bottom: 1.75rem; }

.check__title {
  margin-bottom: 0.75rem;
  font-size: var(--fs-s);
  font-weight: 600;
}

.progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress li {
  padding-top: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--grey);
  border-top: 3px solid var(--line);
}

.progress li.is-done,
.progress li.is-current { border-top-color: var(--teal); }

.progress li.is-current {
  font-weight: 600;
  color: var(--ink);
}

@container (max-width: 18rem) {
  .progress__nr { display: none; }
}

.step { display: none; }
.step.is-current { display: block; }

.step__title {
  font-size: var(--fs-xl);
  line-height: 1.2;
}

.step__title:focus { outline: none; }

.step__hint {
  margin-top: 0.5rem;
  font-size: var(--fs-s);
  color: var(--grey);
}

/* Bereich wählen */

.sector-switch {
  min-width: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}

.segments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.segment {
  position: relative;
  display: flex;
}

.segment input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.segment span {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  font-size: var(--fs-s);
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-button);
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.segment:hover span { border-color: var(--ink); }

.segment input:checked + span {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.segment input:focus-visible + span {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Texte je Bereich und je Zeitarbeit ja/nein */

.is-care .if-trade,
.is-trade .if-care,
.is-no-agency .if-agency,
.if-no-agency { display: none; }

.is-no-agency .if-no-agency { display: inline; }

/* Stundensätze je Beruf */

.sector__title { display: none; }

.rates { margin-top: 1.25rem; }
.rates:not(:has(.rate:not([hidden]))) { margin-top: 0; }

.rate + .rate {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.rate__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.rate__name {
  font-size: var(--fs-m);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: -0.01em;
}

.rate__remove {
  padding: 0.25rem 0;
  font-size: var(--fs-xs);
  color: var(--grey);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  background: none;
  border: 0;
  cursor: pointer;
}

.rate__remove:hover { color: var(--ink); }

.rate__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 0.5rem;
}

.is-no-agency .rate__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-no-agency .field--now,
.is-no-agency [data-agency-only],
.is-no-agency .result { display: none; }

/* Felder */

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--fs-s);
  font-weight: 500;
}

.rate .field label {
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--grey);
}

.optional {
  margin-left: 0.2rem;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--grey);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-field);
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:hover,
select:hover,
textarea:hover { border-color: var(--ink); }

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}

input[aria-invalid="true"],
input[aria-invalid="true"]:focus-visible {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}

input::placeholder { color: #8a8a8a; opacity: 1; }

select {
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231b1b1b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px 8px;
  appearance: none;
}

textarea { min-height: 5.5rem; resize: vertical; }

.input { position: relative; }
.input input { font-variant-numeric: tabular-nums; }
.input--euro input { padding-right: 1.9rem; }

.input__unit {
  position: absolute;
  top: 50%;
  right: 0.8rem;
  color: var(--grey);
  transform: translateY(-50%);
  pointer-events: none;
}

.field-error {
  margin-top: 0.4rem;
  font-size: var(--fs-s);
  color: var(--error);
}

.form-error {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  font-size: var(--fs-s);
  color: var(--error);
  border: 1px solid var(--error);
  border-radius: var(--r-card);
}

.fields {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@container (min-width: 25rem) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }
}

/* Weitere Qualifikation hinzufügen */

.rate-add {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.rate-add__label {
  width: 100%;
  font-size: var(--fs-xs);
  color: var(--grey);
}

.rate-add.is-empty { margin-top: 1.25rem; }

.rate-add.is-empty .rate-add__label {
  margin-bottom: 0.15rem;
  font-size: var(--fs-s);
  font-weight: 600;
  color: var(--ink);
}

.button-add {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem 0.35rem 0.55rem;
  font-size: var(--fs-s);
  color: var(--ink);
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--r-button);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.button-add .icon { width: 16px; height: 16px; }
.button-add:hover { color: var(--teal); border-color: var(--teal); }

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.25rem;
  font-size: var(--fs-s);
  cursor: pointer;
}

.checkline input {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.1rem 0 0;
  accent-color: var(--teal);
}

/* Ergebnis */

.result {
  margin-top: 1.5rem;
  padding: 1.25rem 1.25rem 1.1rem;
  background: var(--light);
  border-radius: var(--r-card);
}

.result__label {
  font-size: var(--fs-s);
  color: var(--grey);
}

.result__value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.6rem;
  margin-top: 0.35rem;
}

.result__amount {
  margin-left: -0.12em;
  padding: 0 0.12em;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.625rem);
  font-weight: 500;
  font-stretch: var(--wide);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  background-color: transparent;
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 0% 60%;
  transition: background-size 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.result__amount.is-positive { background-size: 100% 60%; }

.result__unit {
  font-size: var(--fs-s);
  color: var(--grey);
}

.result__detail {
  margin-top: 0.5rem;
  font-size: var(--fs-s);
  font-variant-numeric: tabular-nums;
}

.result__warning {
  margin-top: 0.5rem;
  font-size: var(--fs-s);
  font-weight: 500;
}

.result__note {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  font-size: var(--fs-xs);
  color: var(--grey);
  border-top: 1px solid var(--line);
}

/* Auswahl-Chips */

.group {
  min-width: 0;
  margin: 1.5rem 0 0;
  padding: 0;
  border: 0;
}

.step__title + .group { margin-top: 1.25rem; }

.group__legend {
  margin-bottom: 0.65rem;
  padding: 0;
  font-size: var(--fs-s);
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
  display: inline-flex;
  max-width: 100%;
}

.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  font-size: var(--fs-s);
  line-height: 1.25;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-button);
  transition: border-color 0.15s, background-color 0.15s;
}

.chip:hover span { border-color: var(--ink); }

.chip input:checked + span {
  color: var(--teal-dark);
  background: var(--teal-tint);
  border-color: var(--teal);
}

.chip input:checked + span::before {
  content: "";
  width: 0.35rem;
  height: 0.65rem;
  margin: -0.2rem 0.1rem 0 0.1rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.field--text { margin-top: 0; }

.group + .field--text,
.checkline + .field--text { margin-top: 1.5rem; }

.recipient-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  font-size: var(--fs-s);
  border-top: 1px solid var(--line);
}

.recipient-note strong { font-weight: 600; }

.privacy-note {
  margin-top: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--grey);
}

.facts__partner { display: block; }
.facts__partner + .facts__partner { margin-top: 0.35rem; }

.privacy-note a { color: inherit; }

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Buttons */

.step__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.step__nav .button--primary { margin-left: auto; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  font-size: var(--fs-m);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-button);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.button .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.15s;
}

.button:hover .icon--arrow { transform: translateX(2px); }
.button--block { width: 100%; }

.button--primary {
  color: var(--white);
  background: var(--teal);
}

.button--primary:hover { color: var(--white); background: var(--teal-dark); }

.button--light {
  color: var(--teal);
  background: var(--white);
}

.button--light:hover { color: var(--teal-dark); background: var(--teal-tint); }

.button--text {
  padding-inline: 0.25rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  background: none;
}

.button:disabled { opacity: 0.7; cursor: progress; }

/* Bestätigung */

.success:focus { outline: none; }

.success__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-s);
  font-weight: 600;
  color: var(--teal-dark);
}

.success__badge .icon { color: var(--teal); }
.success__badge .icon__mark { stroke: var(--white); }

.success__title {
  margin-top: 1rem;
  font-size: var(--fs-xl);
  line-height: 1.2;
}

.success__text { margin-top: 0.5rem; }

.receipt {
  margin-top: 1.5rem;
  border-top: 1px solid var(--ink);
}

.receipt div {
  display: grid;
  grid-template-columns: minmax(0, 9rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.75rem 0;
  font-size: var(--fs-s);
  border-bottom: 1px solid var(--line);
}

.receipt dt { color: var(--grey); }
.receipt dd { font-variant-numeric: tabular-nums; }

.receipt mark {
  padding: 0 0.15em;
  font-weight: 600;
  color: var(--ink);
  background: var(--marker);
}

.success__id {
  margin-top: 1.25rem;
  font-size: var(--fs-s);
  color: var(--grey);
}

.success__id strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.success__call {
  margin-top: 0.4rem;
  font-size: var(--fs-s);
}

/* Abschnitte */

.section { padding-block: var(--section); }
.section--light { background: var(--light); }

.section__title {
  max-width: 20ch;
  font-size: var(--fs-2xl);
}

.process {
  display: grid;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.process li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.process__nr {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: 500;
  font-stretch: var(--wide);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.process h3 {
  margin-top: 1.25rem;
  font-size: var(--fs-l);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: -0.01em;
}

.process p {
  max-width: 34ch;
  margin-top: 0.5rem;
  color: var(--grey);
}

@media (min-width: 800px) {
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .process li {
    padding: 1.75rem 2rem 0.5rem 0;
    border-bottom: 0;
  }

  .process li + li {
    padding-left: 2rem;
    border-left: 1px solid var(--line);
  }
}

/* Berufe je Bereich */

.trades {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 800px) {
  .trades {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
}

.trades__col {
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}

.trades__title {
  font-size: var(--fs-xl);
  line-height: 1.2;
}

.trades__region {
  margin-top: 0.4rem;
  font-size: var(--fs-s);
  color: var(--grey);
}

.trades__list {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.trades__list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.trades__list li:first-child { border-top: 1px solid var(--line); }

.ledger-section,
.provider,
.faq {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .ledger-section,
  .provider,
  .faq {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
  }
}

.ledger-section__intro > p {
  max-width: 40ch;
  margin-top: 1.25rem;
}

.ledger-section__intro > .ledger-section__vat {
  max-width: none;
  padding-top: 1.25rem;
  font-size: var(--fs-s);
  border-top: 1px solid var(--line);
}

.ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.ledger li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.ledger__nr {
  grid-row: span 2;
  padding-top: 0.2rem;
  font-size: var(--fs-s);
  font-variant-numeric: tabular-nums;
  color: var(--grey);
}

.ledger h3 {
  font-size: var(--fs-l);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: -0.01em;
}

.ledger p {
  margin-top: 0.25rem;
  color: var(--grey);
}

@media (min-width: 700px) {
  .ledger li { grid-template-columns: 3rem minmax(0, 14rem) minmax(0, 1fr); }
  .ledger__nr { grid-row: auto; }
  .ledger p { margin-top: 0; }
}

.ledger-section__close {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  margin-top: 1.5rem;
  font-weight: 500;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.link-arrow .icon { width: 18px; height: 18px; align-self: center; }

.provider__text > p {
  max-width: 42ch;
  margin-top: 1.25rem;
}

.facts { border-top: 1px solid var(--ink); }

.facts div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-size: var(--fs-s);
  color: var(--grey);
}

@media (min-width: 600px) {
  .facts div {
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    gap: 1.5rem;
  }
}

.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-size: var(--fs-l);
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  width: 0.875rem;
  height: 0.875rem;
  margin-top: -0.4375rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.2s;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  max-width: 62ch;
  padding-bottom: 1.25rem;
}

/* Abschluss */

.closing {
  padding-block: clamp(3rem, 2rem + 4vw, 4.5rem);
  color: var(--white);
  background: var(--teal);
}

.closing__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.closing__title { font-size: var(--fs-2xl); }

.closing__text {
  margin-top: 0.75rem;
  color: var(--on-teal);
}

/* Fuß */

.site-footer {
  padding-block: 3rem 1.5rem;
  font-size: var(--fs-s);
  color: var(--grey);
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .site-footer__inner {
    grid-template-columns: 1.6fr 1.2fr 1.2fr auto;
    gap: 2rem;
  }
}

.site-footer__name {
  font-size: var(--fs-m);
  font-weight: 600;
  font-stretch: var(--wide);
  color: var(--ink);
}

.site-footer address { font-style: normal; }
.site-footer a { color: var(--ink); }

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: var(--fs-xs);
  border-top: 1px solid var(--line);
}

/* Rechtstexte, Danke- und Fehlerseite */

.legal { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.legal__inner { max-width: 46rem; }

.legal h1 { font-size: var(--fs-2xl); }
.legal .success__badge + h1 { margin-top: 1rem; }

.legal h2 {
  margin-top: 2.5rem;
  font-size: var(--fs-l);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: -0.01em;
}

.legal h3 {
  margin-top: 1.5rem;
  font-size: var(--fs-m);
  font-weight: 600;
  font-stretch: 100%;
}

.legal p,
.legal ul { margin-top: 0.75rem; }

.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: 0.35rem; }

.legal__meta {
  font-size: var(--fs-s);
  color: var(--grey);
}

.legal .button { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* WordPress: freie Inhalte aus dem Editor */

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: static !important;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
}

.text-section .prose { margin-top: 1.5rem; }

.prose > * + * { margin-top: 1rem; }
.prose > * { max-width: 46rem; }

.prose ul,
.prose ol { padding-left: 1.25rem; }

.prose li + li { margin-top: 0.35rem; }

.prose h2 {
  margin-top: 2.5rem;
  font-size: var(--fs-l);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: -0.01em;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: var(--fs-m);
  font-weight: 600;
  font-stretch: 100%;
}

.legal .prose > :first-child { margin-top: 1.5rem; }
