/* Infoseiten: Ratgeber, Preisatlas, Über uns, Karriere, Presse, Barrierefreiheit, Sitemap, Entwickler, Kündigen, Widerruf */

/* Kopf */
.info-kopf { background: var(--sand); padding: clamp(36px, 6vw, 80px) 0 clamp(32px, 5vw, 56px); }
.info-kopf h1 { font-size: clamp(36px, 5.6vw, 64px); max-width: 20ch; overflow-wrap: break-word; hyphens: auto; }
.info-kopf .lead { max-width: 640px; font-size: clamp(16px, 1.6vw, 18px); }
.info-brot { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--grau); margin-bottom: 18px; }
.info-brot a { color: var(--nacht); text-underline-offset: 3px; }
.info-meta { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--grau); }
.info-meta--dunkel { color: var(--text); margin: 0 0 16px; }

.info-seite { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(64px, 9vw, 112px); }
.info-klein { font-size: 14px; color: var(--grau); }
.info-fussnote { margin-top: 40px; font-size: 14px; color: var(--grau); max-width: 720px; }

/* Lesetext */
.info-text { max-width: 720px; }
.info-text--breit { max-width: 860px; }
.info-text > section + section, .info-text > .info-kasten + section { margin-top: clamp(36px, 5vw, 52px); }
.info-text h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 14px; }
.info-text p { font-size: 17px; line-height: 1.7; margin-bottom: 14px; }
.info-text p:last-child { margin-bottom: 0; }
.info-zwischen { font-family: var(--sans); font-size: 15px; font-weight: 800; letter-spacing: 0; color: var(--grau); margin: 22px 0 8px; }
.info-liste { margin: 0; padding-inline-start: 20px; display: grid; gap: 10px; font-size: 17px; line-height: 1.6; }
.info-liste li::marker { color: var(--ziegel); }
.info-adresse { font-style: normal; font-size: 17px; line-height: 1.7; background: var(--sand); border-radius: 18px; padding: 20px 24px; margin-top: 18px; }
.info-kasten { background: var(--sand); border-radius: 22px; padding: clamp(22px, 4vw, 36px); }
.info-kasten h2 { font-size: clamp(24px, 3vw, 30px); }
.info-kasten .knopf { margin-top: 6px; }
.info-zitat { margin: 0 0 12px; background: #fff; border: 1.5px solid var(--linie); border-radius: 18px; padding: 20px 24px; }
.info-zitat p { font-size: 16.5px; }
.info-hinweis { background: var(--sand); border-radius: 18px; padding: 20px 24px; margin-top: 40px; }
.info-hinweis strong { display: block; margin-bottom: 4px; color: var(--nacht); }
.info-hinweis p { font-size: 15.5px !important; margin: 0 !important; color: var(--text); }
.info-pfeil { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .info-pfeil { transform: scaleX(-1); }

/* Ratgeber: Übersicht */
.info-themen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.info-thema { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0; text-decoration: none; color: var(--text); }
.info-thema__nr { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--ziegel); padding-top: 6px; min-width: 26px; }
.info-thema__text { flex: 1; display: grid; gap: 6px; }
.info-thema__text strong { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 560; line-height: 1.15; color: var(--nacht); }
.info-thema__text span { color: var(--grau); font-size: 15.5px; }
.info-thema__text small { font-size: 13px; font-weight: 700; color: var(--grau); }
.info-thema .info-pfeil { margin-top: 8px; color: var(--nacht); transition: transform .2s var(--ease); }
@media (hover: hover) {
  .info-thema:hover strong { color: var(--ziegel); }
  .info-thema:hover .info-pfeil { transform: translateX(4px); }
  [dir="rtl"] .info-thema:hover .info-pfeil { transform: scaleX(-1) translateX(4px); }
}
.info-werkzeuge { margin-top: clamp(48px, 7vw, 80px); }
.info-werkzeuge h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 20px; }
.info-werkzeuge__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-werkzeug { display: grid; gap: 6px; padding: 22px 24px; border-radius: 18px; background: var(--nacht); color: #fff; text-decoration: none; transition: background-color .2s; }
.info-werkzeug strong { font-family: var(--serif); font-size: 22px; font-weight: 560; }
.info-werkzeug span { color: rgba(255, 255, 255, .78); font-size: 15px; }
@media (hover: hover) { .info-werkzeug:hover { background: var(--nacht-2); } }

/* Ratgeber: Artikel */
.info-artikel { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-artikel__inhalt { position: sticky; top: calc(var(--kopf) + 24px); }
.info-artikel__inhalt h2 { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); margin-bottom: 12px; }
.info-artikel__inhalt ol { margin: 0; padding: 0; list-style: none; counter-reset: inhalt; display: grid; gap: 2px; }
.info-artikel__inhalt li { counter-increment: inhalt; }
.info-artikel__inhalt a { display: flex; gap: 10px; padding: 7px 0; font-size: 15px; font-weight: 600; color: var(--nacht); text-decoration: none; line-height: 1.35; }
.info-artikel__inhalt a::before { content: counter(inhalt); color: var(--ziegel); font-weight: 800; min-width: 16px; }
@media (hover: hover) { .info-artikel__inhalt a:hover { color: var(--ziegel); } }
.info-artikel .info-text section { scroll-margin-top: calc(var(--kopf) + 20px); }
.info-artikel .info-text section + section { margin-top: 36px; }
.info-weiter { margin-top: 40px; }
.info-weiter .knoepfe { margin-top: 4px; }
.info-mehr { background: var(--sand); padding: clamp(48px, 7vw, 88px) 0; }
.info-mehr h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 20px; }
.info-mehr__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.info-mehr__liste a { display: grid; gap: 6px; height: 100%; padding: 20px 22px; border-radius: 18px; background: #fff; text-decoration: none; color: var(--text); }
.info-mehr__liste strong { font-family: var(--serif); font-size: 20px; font-weight: 560; color: var(--nacht); }
.info-mehr__liste span { font-size: 14.5px; color: var(--grau); }
@media (hover: hover) { .info-mehr__liste a:hover strong { color: var(--ziegel); } }

/* Preisatlas */
.info-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.info-filter a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linie); color: var(--nacht); font-weight: 700; font-size: 15px; text-decoration: none; }
.info-filter a[aria-current] { background: var(--nacht); color: #fff; box-shadow: none; }
.info-filter__zahl { font-size: 12px; font-weight: 800; background: var(--sand); color: var(--nacht); border-radius: 999px; padding: 1px 8px; }
@media (hover: hover) { .info-filter a:not([aria-current]):hover { background: var(--sand); } }
.info-tabelle-rahmen { border: 1.5px solid var(--linie); border-radius: 20px; overflow: hidden; }
.info-tabelle { width: 100%; border-collapse: collapse; font-size: 16px; }
.info-tabelle th, .info-tabelle td { padding: 14px 18px; text-align: start; vertical-align: middle; }
.info-tabelle thead th { background: var(--sand); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--grau); }
.info-tabelle tbody tr + tr { border-top: 1px solid var(--linie); }
.info-tabelle tbody th { font-weight: 400; }
.info-tabelle tbody th strong { display: block; color: var(--nacht); }
.info-tabelle tbody th small { display: block; color: var(--grau); font-size: 13px; }
.info-tabelle__zahl { text-align: end !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.info-tabelle__balken { width: 30%; }
.info-tabelle__balken span { display: block; height: 10px; border-radius: 999px; background: var(--ziegel); opacity: .85; }
.info-tabelle__link { width: 56px; text-align: end !important; }
.info-tabelle__link a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; color: var(--nacht); }
@media (hover: hover) { .info-tabelle__link a:hover { background: var(--sand); } .info-tabelle tbody tr:hover { background: #fcfaf6; } }
.info-leer { background: var(--sand); border-radius: 22px; padding: clamp(24px, 4vw, 40px); max-width: 860px; }
.info-leer h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.info-leer p { font-size: 17px; margin-bottom: 10px; max-width: 640px; }
.info-leer .knoepfe { margin-top: 18px; }
.info-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 64px); }
.info-spalten h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 12px; }
.info-spalten p { font-size: 16px; line-height: 1.7; margin-bottom: 10px; color: var(--text); }

/* Sitemap */
.info-sitemap { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px clamp(24px, 4vw, 48px); }
.info-sitemap h2, .info-sitemap__breit h2 { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); margin-bottom: 12px; }
.info-sitemap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.info-sitemap a { display: inline-block; padding: 6px 0; font-weight: 600; color: var(--nacht); text-decoration: none; }
@media (hover: hover) { .info-sitemap a:hover { color: var(--ziegel); text-decoration: underline; text-underline-offset: 4px; } }
.info-sitemap__breit { margin-top: 48px; }
.info-chips { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.info-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--sand); color: var(--nacht); font-weight: 600; font-size: 15px; text-decoration: none; }
@media (hover: hover) { .info-chips a:hover { background: var(--sand-2); } }
.info-chips--code li code { display: inline-block; background: var(--sand); color: var(--nacht); border-radius: 8px; padding: 4px 10px; font-size: 14px; }

/* Entwickler */
.info-code { direction: ltr; text-align: left; margin: 0 0 16px; background: var(--nacht); color: #fff; border-radius: 14px; padding: 16px 18px; font-size: 14px; line-height: 1.6; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.info-code code, .info-endpunkte code, .info-chips--code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.info-endpunkte { list-style: none; margin: 0; padding: 0; border: 1.5px solid var(--linie); border-radius: 18px; overflow: hidden; }
.info-endpunkte li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 6px 20px; align-items: center; padding: 12px 18px; }
.info-endpunkte li + li { border-top: 1px solid var(--linie); }
.info-endpunkte code { direction: ltr; text-align: left; font-size: 14px; color: var(--nacht); overflow-wrap: anywhere; }
.info-endpunkte span { font-size: 15px; color: var(--text); }
.info-methode { display: inline-block; min-width: 62px; text-align: center; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; border-radius: 6px; padding: 2px 6px; margin-inline-end: 6px; background: var(--sand); color: var(--nacht); }
.info-methode--get { background: #e7f1ea; color: #1d4a2c; }
.info-methode--post { background: #fdf1dc; color: #6b4a10; }
.info-methode--delete { background: #fbe9e5; color: #8a2a17; }
.info-marke { display: inline-block; font-size: 12px; font-weight: 700; color: var(--grau); background: var(--sand); border-radius: 999px; padding: 1px 8px; margin-inline-start: 4px; white-space: nowrap; }

/* Kündigen und Widerruf */
.info-vorgang { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 300px); gap: 24px clamp(32px, 5vw, 64px); align-items: start; }
.info-vorgang > * { grid-column: 1; }
.info-vorgang > .info-randnotiz { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: calc(var(--kopf) + 24px); }
.info-schritte { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14.5px; font-weight: 700; color: var(--grau); }
.info-schritte li { display: flex; align-items: center; gap: 10px; }
.info-schritte span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--linie); font-size: 13px; }
.info-schritte .ist-aktiv { color: var(--nacht); }
.info-schritte .ist-aktiv span { background: var(--nacht); color: #fff; box-shadow: none; }
.info-schritte .ist-fertig span { background: var(--sand); color: var(--nacht); box-shadow: none; }
.info-form { gap: 22px; }
.info-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.info-form legend { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 24px); font-weight: 560; color: var(--nacht); padding: 0; margin-bottom: 12px; }
.info-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px 16px; }
.info-form textarea { min-height: 0; }
.info-wahl { gap: 8px !important; }
.formular .info-option { display: flex !important; align-items: center; gap: 12px; margin: 0 !important; padding: 12px 16px; min-height: 48px; border: 1.5px solid var(--linie); border-radius: 12px; background: #fff; cursor: pointer; font-size: 16px !important; font-weight: 600 !important; color: var(--text) !important; }
.formular .info-option input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--nacht); padding: 0; }
.formular .info-option:has(input:checked) { border-color: var(--nacht); box-shadow: inset 0 0 0 1px var(--nacht); background: var(--sand); }
.info-grund, .info-datum { margin-top: 6px; }
.info-datum input { max-width: 260px; }
@supports selector(:has(a)) {
  .info-grund, .info-datum { display: none; }
  .info-wahl:has(input[value="ausserordentlich"]:checked) .info-grund,
  .info-zeit:has(input[value="datum"]:checked) .info-datum { display: block; }
}
.formular .info-form__knopf { width: auto; justify-self: start; min-width: 260px; }
.info-muster { background: var(--sand); border-radius: 18px; padding: 20px 24px; }
.info-muster h2 { font-size: clamp(22px, 2.6vw, 26px); margin-bottom: 10px; }
.info-muster p { font-size: 15.5px; margin-bottom: 6px; }
.info-muster p:last-child { margin: 0; font-weight: 700; }
.info-pruefung, .info-bestaetigung { border-radius: 22px; padding: clamp(22px, 4vw, 36px); }
.info-pruefung { background: var(--sand); }
.info-pruefung h2, .info-bestaetigung h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.info-pruefung > p, .info-bestaetigung > p { font-size: 16.5px; margin-bottom: 10px; }
.info-zusammenfassung { margin: 18px 0; padding: 0; background: #fff; border-radius: 16px; border: 1.5px solid var(--linie); }
.info-zusammenfassung div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 4px 18px; padding: 12px 18px; }
.info-zusammenfassung div + div { border-top: 1px solid var(--linie); }
.info-zusammenfassung dt { font-size: 14px; font-weight: 700; color: var(--grau); }
.info-zusammenfassung dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.info-pruefung__form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.info-jetzt { min-height: 56px; padding: 0 32px; font-size: 17px; }
.info-bestaetigung { background: #e7f1ea; }
.info-bestaetigung h2 { color: #1d4a2c; }
.info-bestaetigung__haken { width: 44px; height: 44px; padding: 9px; border-radius: 999px; background: #1f9f74; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.info-bestaetigung__nr { font-size: 16.5px; }
.info-randnotiz { background: var(--sand); border-radius: 20px; padding: 22px 24px; }
.info-randnotiz h2 { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); margin-bottom: 10px; }
.info-randnotiz p { font-size: 15px; margin-bottom: 10px; overflow-wrap: anywhere; }
.info-randnotiz p:last-child { margin-bottom: 0; }

/* Tablet und Handy */
@media (max-width: 960px) {
  .info-artikel { grid-template-columns: minmax(0, 1fr); }
  .info-artikel__inhalt { position: static; background: var(--sand); border-radius: 18px; padding: 18px 20px; }
  .info-vorgang { grid-template-columns: minmax(0, 1fr); }
  .info-vorgang > .info-randnotiz { grid-column: 1; grid-row: auto; position: static; }
  .info-werkzeuge__raster { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .info-themen { grid-template-columns: minmax(0, 1fr); }
  .info-spalten { grid-template-columns: minmax(0, 1fr); }
  .info-tabelle th, .info-tabelle td { padding: 12px 12px; }
  .info-tabelle__balken { display: none; }
  .info-endpunkte li { grid-template-columns: minmax(0, 1fr); }
  .info-zusammenfassung div { grid-template-columns: minmax(0, 1fr); }
  .formular .info-form__knopf, .info-pruefung__form .knopf { width: 100%; min-width: 0; }
}
@media (max-width: 420px) {
  .info-tabelle { font-size: 15px; }
  .info-tabelle thead th { font-size: 11.5px; letter-spacing: .02em; }
  .info-tabelle th, .info-tabelle td { padding: 12px 8px; }
  .info-tabelle__link { width: 44px; }
  .info-filter a { padding: 0 14px; font-size: 14.5px; }
  .info-kopf h1 { font-size: 34px; }
}
@media print {
  .kopf, .fuss, .handymenue, .info-randnotiz, .info-schritte, .info-kopf .handschrift { display: none !important; }
  .info-kopf { background: none; padding: 0 0 12px; }
}
@media (max-width: 560px) {
  .info-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-filter a { justify-content: center; padding: 0 10px; font-size: 14px; gap: 6px; text-align: center; }
}
.info-raster { align-items: end; }
@media (max-width: 420px) { .info-schritte { gap: 8px 14px; font-size: 13.5px; } .info-schritte span { width: 26px; height: 26px; } }
