/* FixKlima Rechner und Widerruf. Farben und Schriften kommen aus dem Theme (theme.json), mit Ersatzwerten. */
.fk-calc, .fk-widerruf, .fk-wa-button {
  --fk-orange: var(--wp--preset--color--fix-orange, #FF5A1F);
  --fk-orange-text: var(--wp--preset--color--tief-orange, #C2410C);
  --fk-ink: var(--wp--preset--color--tinte, #16181D);
  --fk-paper: var(--wp--preset--color--weiss, #FFFFFF);
  --fk-tint: var(--wp--preset--color--orange-hell, #FFF1E8);
  --fk-muted: var(--wp--preset--color--grau, #5F6670);
  --fk-line: var(--wp--preset--color--linie, #ECE6E1);
  --fk-display: var(--wp--preset--font-family--archivo, "Archivo", "Arial Black", Arial, sans-serif);
  --fk-body: var(--wp--preset--font-family--inter, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
}
.fk-calc, .fk-widerruf { font-family: var(--fk-body); color: var(--fk-ink); }
.fk-calc *, .fk-widerruf * { box-sizing: border-box; }
.fk-calc [hidden], .fk-widerruf [hidden] { display: none !important; }
.fk-calc { background: var(--fk-paper); border-radius: 22px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 18px 0 -8px rgba(22, 24, 29, 0.18); min-width: 0; text-align: left; }
.fk-calc p, .fk-widerruf p { margin: 0; }
.fk-calc h3 { margin: 0; }
.fk-loading, .fk-noscript { font-size: 16px; color: var(--fk-muted); }

.fk-btn, .fk-wa-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font-family: var(--fk-display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; line-height: 1.1; text-decoration: none; cursor: pointer; text-align: center; }
.fk-btn-primary, .fk-wa-button { background: var(--fk-orange); color: var(--fk-ink); }
.fk-btn-primary:hover, .fk-wa-button:hover { background: #FF6D38; color: var(--fk-ink); }
.fk-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.fk-btn:focus-visible, .fk-opt:focus-visible, .fk-day:focus-visible, .fk-back:focus-visible, .fk-link:focus-visible, .fk-chip button:focus-visible, .fk-wa-button:focus-visible { outline: 3px solid var(--fk-ink); outline-offset: 2px; }
.fk-wide { width: 100%; }
.fk-link { border: 0; background: none; color: var(--fk-ink); font: 600 14px var(--fk-body); text-decoration: underline; cursor: pointer; padding: 6px 0; }

.fk-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.fk-count { font-size: 13px; font-weight: 600; color: var(--fk-muted); }
.fk-back { border: 0; background: none; color: var(--fk-ink); font: 600 14px var(--fk-body); cursor: pointer; padding: 8px 4px; min-height: 40px; }
.fk-back[disabled] { visibility: hidden; }
.fk-bar { height: 8px; background: var(--fk-tint); border-radius: 4px; overflow: hidden; margin-bottom: 22px; }
.fk-bar span { display: block; height: 100%; background: var(--fk-orange); border-radius: 4px; transition: width 0.25s ease; }
.fk-title { font-family: var(--fk-display); font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 6px; color: var(--fk-ink); }
.fk-title:focus { outline: none; }
.fk-hint { color: var(--fk-muted); font-size: 14px; margin-bottom: 4px; }
.fk-opts { display: grid; gap: 10px; margin-top: 16px; }
.fk-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--fk-line); background: var(--fk-paper); color: var(--fk-ink); font: 600 16px var(--fk-body); text-align: left; cursor: pointer; width: 100%; }
.fk-opt:hover { border-color: var(--fk-ink); }
.fk-opt[aria-pressed="true"] { border: 2.5px solid var(--fk-ink); background: var(--fk-tint); }
.fk-tag { font-family: var(--fk-display); font-weight: 800; font-size: 14px; white-space: nowrap; color: var(--fk-orange-text); }
.fk-tag.fk-plain { font-family: var(--fk-body); font-weight: 500; color: var(--fk-muted); white-space: normal; text-align: right; }

.fk-plz-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.fk-plz-row label { flex-basis: 100%; margin: 0; }
.fk-plz-row input { flex: 1 1 160px; min-width: 0; min-height: 56px; border-radius: 14px; border: 1.5px solid var(--fk-line); background: var(--fk-paper); color: var(--fk-ink); font: 600 20px var(--fk-body); padding: 0 16px; letter-spacing: 0.06em; }
.fk-plz-row input:focus { border-color: var(--fk-ink); outline: none; }
.fk-error { color: var(--fk-orange-text); font-size: 14px; font-weight: 600; margin-top: 8px; min-height: 21px; }

.fk-days-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.fk-days-count { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.fk-chips { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fk-chip { display: inline-flex; align-items: center; gap: 2px; background: var(--fk-tint); border: 1.5px solid var(--fk-orange); border-radius: 999px; padding: 2px 2px 2px 12px; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.fk-chip button { border: 0; background: none; color: var(--fk-ink); font-size: 20px; line-height: 1; width: 34px; height: 34px; border-radius: 999px; cursor: pointer; }
.fk-chip button:hover { background: var(--fk-paper); }
.fk-days-grid { display: grid; gap: 6px; margin-top: 14px; }
.fk-dw { display: grid; grid-template-columns: 46px repeat(5, minmax(0, 1fr)); gap: 6px; align-items: center; }
.fk-dw.fk-head span { font-size: 12px; font-weight: 600; color: var(--fk-muted); text-align: center; }
.fk-kw { font-size: 12px; font-weight: 600; color: var(--fk-muted); white-space: nowrap; }
.fk-day { min-height: 44px; min-width: 0; padding: 0 2px; border-radius: 10px; border: 1.5px solid var(--fk-line); background: var(--fk-paper); color: var(--fk-ink); font: 600 14px var(--fk-body); font-variant-numeric: tabular-nums; cursor: pointer; }
.fk-day:hover:not(:disabled) { border-color: var(--fk-ink); }
.fk-day[aria-pressed="true"] { background: var(--fk-ink); color: var(--fk-paper); border-color: var(--fk-ink); }
.fk-day.fk-busy { background: var(--fk-tint); color: var(--fk-muted); border-color: transparent; text-decoration: line-through; cursor: not-allowed; }
.fk-day.fk-full { opacity: 0.4; cursor: not-allowed; }
.fk-days-note { font-size: 14px; color: var(--fk-muted); margin-top: 14px !important; }
[data-days-go] { margin-top: 14px; }
@media (max-width: 400px) { .fk-dw { grid-template-columns: 38px repeat(5, minmax(0, 1fr)); gap: 5px; } .fk-day { font-size: 13px; } .fk-kw { font-size: 11px; } }

.fk-result { display: grid; gap: 16px; }
.fk-label { font-size: 14px; font-weight: 600; color: var(--fk-muted); }
.fk-label:focus, .fk-total:focus { outline: none; }
.fk-total { font-family: var(--fk-display); font-weight: 900; font-size: clamp(48px, 7vw, 68px); letter-spacing: -0.045em; line-height: 0.95; color: var(--fk-orange-text); font-variant-numeric: tabular-nums; }
.fk-total small { font-size: 0.42em; letter-spacing: 0; color: var(--fk-ink); margin-right: 6px; }
.fk-total-text { font-size: clamp(32px, 5vw, 44px); color: var(--fk-ink); letter-spacing: -0.03em; line-height: 1.02; }
.fk-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fk-line); }
.fk-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fk-line); font-size: 15px; }
.fk-lines li span:last-child { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fk-notes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fk-notes li { font-size: 14px; padding: 10px 12px; border-radius: 10px; background: var(--fk-tint); }
.fk-notes li strong { font-weight: 600; }
.fk-wishlist { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.fk-wishlist li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fk-wishlist li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--fk-orange); flex: none; }
.fk-fotos { margin: 0; padding-left: 22px; display: grid; gap: 4px; font-weight: 500; }
.fk-again { justify-self: start; }
.fk-small { font-size: 13px; color: var(--fk-muted); }
.fk-small a { color: var(--fk-ink); }

.fk-form { display: grid; gap: 8px; }
.fk-lead { border-top: 1px solid var(--fk-line); padding-top: 16px; }
.fk-form label { font-size: 14px; font-weight: 600; margin-top: 4px; }
.fk-opt-label { font-weight: 400; color: var(--fk-muted); }
.fk-form input { width: 100%; min-height: 52px; border-radius: 14px; border: 1.5px solid var(--fk-line); background: var(--fk-paper); color: var(--fk-ink); font: 500 17px var(--fk-body); padding: 0 14px; }
.fk-form input:focus { border-color: var(--fk-ink); outline: none; box-shadow: 0 0 0 3px var(--fk-tint); }
.fk-form .fk-btn { margin-top: 6px; }
.fk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.fk-widerruf { display: grid; gap: 16px; max-width: 560px; }
.fk-widerruf .fk-form { background: var(--fk-tint); border-radius: 18px; padding: clamp(16px, 3vw, 24px); }
.fk-form-intro { font-size: 15px; }
.fk-done { display: grid; gap: 8px; background: var(--fk-tint); border-radius: 18px; padding: clamp(16px, 3vw, 24px); }
@media (prefers-reduced-motion: reduce) { .fk-bar span { transition: none; } }
