@font-face {
  font-family: Geist;
  src: url("https://www.kkw-kuhlmann.de/wp-content/themes/kuhlmann2026/assets/fonts/Geist-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url("https://www.kkw-kuhlmann.de/wp-content/themes/kuhlmann2026/assets/fonts/Geist-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

.kkw-interview-generator {
  color-scheme: light;
  --ink: #123036;
  --muted: #63777b;
  --brand: #00a6a6;
  --brand-dark: #007f83;
  --brand-soft: #e9f8f7;
  --blue: #edf7ff;
  --blue-strong: #2877bd;
  --green: #16885f;
  --green-soft: #eaf8f1;
  --accent: #f0b849;
  --accent-soft: #fff6df;
  --line: #d8e5e6;
  --surface: #ffffff;
  --page: #f1f7f7;
  --warn: #fff6df;
  --warn-line: #efcf7a;
  --ok: #087b60;
  --shadow: 0 28px 72px rgba(17, 58, 64, .13);
  font-family: Geist, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kkw-interview-generator, .kkw-interview-generator *, .kkw-interview-generator *::before, .kkw-interview-generator *::after { box-sizing: border-box; }

.kkw-generator-page {
  background:
    radial-gradient(circle at 8% 5%, rgba(40, 119, 189, .13), transparent 26rem),
    radial-gradient(circle at 92% 9%, rgba(240, 184, 73, .17), transparent 22rem),
    radial-gradient(circle at 78% 82%, rgba(0, 166, 166, .12), transparent 30rem),
    var(--page);
  color: var(--ink);
  padding: 1px 0 34px;
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.kkw-interview-generator button, .kkw-interview-generator input, .kkw-interview-generator select { font: inherit; }
.kkw-interview-generator button { color: inherit; }

.app-shell {
  width: min(1300px, calc(100% - 40px));
  margin: 38px auto 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 375px;
  gap: 30px;
  align-items: start;
}

.planner {
  border: 1px solid rgba(0, 127, 131, .14);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.planner-top {
  min-height: 224px;
  padding: 34px 38px 31px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 86% 15%, rgba(255, 226, 145, .28), transparent 14rem),
    radial-gradient(circle at 71% 115%, rgba(48, 205, 187, .42), transparent 17rem),
    linear-gradient(135deg, #073d49 0%, #006f76 58%, #039991 100%);
}

.planner-top::before,
.planner-top::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.planner-top::before {
  width: 138px;
  height: 138px;
  right: 82px;
  top: -84px;
  border: 28px solid rgba(255,255,255,.09);
}

.planner-top::after {
  width: 74px;
  height: 74px;
  right: 30px;
  bottom: -42px;
  background: rgba(240,184,73,.26);
}

.planner-heading { position: relative; z-index: 1; max-width: 680px; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.planner-top .eyebrow { color: #b9f1eb; display: flex; align-items: center; gap: 9px; }
.planner-top .eyebrow span { width: 9px; height: 9px; border-radius: 999px; background: #ffd36d; box-shadow: 0 0 0 5px rgba(255,211,109,.15); }

.kkw-interview-generator h1, .kkw-interview-generator h2, .kkw-interview-generator h3, .kkw-interview-generator p { margin-top: 0; }

.kkw-interview-generator h1 {
  margin-bottom: 0;
  max-width: 640px;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.planner-promises { margin-top: 23px; display: flex; flex-wrap: wrap; gap: 8px; }
.planner-promises span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.92); font-size: .79rem; font-weight: 700; backdrop-filter: blur(8px); }
.planner-promises b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #073d49; background: #ffd36d; font-size: .69rem; }

.quiet-button, .back-button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 700;
}

.quiet-button:hover, .back-button:hover { background: var(--page); }

.planner-top .quiet-button { position: relative; z-index: 1; flex: none; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.12); color: white; backdrop-filter: blur(8px); }
.planner-top .quiet-button:hover { background: rgba(255,255,255,.2); }

.planner-progress {
  padding: 18px 38px 21px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #f8fcfc, #fffaf0);
}

.progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .88rem;
}

.progress-copy strong { color: var(--ink); }

.progress-track {
  background: #dfeceb;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(17,58,64,.08);
}

.progress-track span {
  display: block;
  width: 4%;
  height: 100%;
  background: linear-gradient(90deg, #2877bd, var(--brand), #36bd87, #f0b849);
  border-radius: inherit;
  transition: width .35s ease;
}

.interview-card {
  padding: 36px 38px 40px;
  min-height: 490px;
  background:
    linear-gradient(180deg, rgba(244,251,251,.72), rgba(255,255,255,0) 140px),
    white;
}

.assistant-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--brand-dark);
  font-size: .9rem;
  font-weight: 700;
}

.assistant-line span {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: #674b0d;
  background: linear-gradient(135deg, #ffe6a4, #ffd36d);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(240,184,73,.2);
}

.question-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-bottom: 12px;
}

.question-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 700px;
  margin-bottom: 26px;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choices.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.choice-card {
  --choice-color: var(--brand);
  --choice-tint: #f2fbfa;
  min-height: 86px;
  padding: 17px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  text-align: left;
  border: 1px solid #d6e5e5;
  background: linear-gradient(145deg, white 20%, var(--choice-tint));
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(17,58,64,.045);
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.choices .choice-card:nth-child(4n + 2) { --choice-color: #2877bd; --choice-tint: #f0f6fd; }
.choices .choice-card:nth-child(4n + 3) { --choice-color: #d69022; --choice-tint: #fff8e8; }
.choices .choice-card:nth-child(4n + 4) { --choice-color: #16885f; --choice-tint: #edf9f3; }

.choice-card:hover {
  border-color: var(--choice-color);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(17,58,64,.09);
}

.choice-card.selected {
  border-color: var(--choice-color);
  background: var(--choice-tint);
  box-shadow: inset 0 0 0 1px var(--choice-color), 0 10px 24px rgba(17,58,64,.08);
}

.choice-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 1px;
  border: 2px solid #b9caca;
  border-radius: 999px;
  position: relative;
}

.selected .choice-mark { border-color: var(--choice-color); background: var(--choice-color); }
.selected .choice-mark::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: .75rem;
  font-weight: 700;
}

.choice-copy { display: grid; gap: 5px; }
.choice-copy strong { font-size: 1rem; line-height: 1.25; }
.choice-copy small { color: var(--muted); font-size: .86rem; line-height: 1.35; }

.count-choice {
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  text-align: center;
}

.count-choice strong { font-size: 2.15rem; color: var(--choice-color); }
.count-choice small { font-size: .8rem; }

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-grid.one { grid-template-columns: 1fr; }

.field {
  display: grid;
  gap: 8px;
}

.field span { font-weight: 700; font-size: .92rem; }

.field input, .field select {
  width: 100%;
  height: 54px;
  border: 1px solid #bbcecf;
  border-radius: 13px;
  background: white;
  padding: 0 15px;
  color: var(--ink);
  outline: none;
}

.field input:focus, .field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,166,166,.12);
}

.unit-input { position: relative; }
.unit-input input { padding-right: 50px; }
.unit-input b { position: absolute; right: 15px; top: 17px; color: var(--muted); }

.name-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.name-pill {
  border: 1px solid #cfe0e0;
  background: linear-gradient(180deg, white, #f7fbfb);
  border-radius: 999px;
  padding: 9px 13px;
  cursor: pointer;
}

.name-pill:hover { border-color: var(--brand); color: var(--brand-dark); }
.name-pill.selected { background: linear-gradient(135deg, #dff7f4, #f0fbfa); border-color: var(--brand); color: var(--brand-dark); font-weight: 700; box-shadow: 0 5px 14px rgba(0,166,166,.11); }

.mini-question {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.mini-question:first-of-type { border-top: 0; padding-top: 0; }
.mini-question h3 { margin-bottom: 12px; font-size: 1rem; }
.mini-question .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-question .choice-card { min-height: 62px; padding: 12px 14px; align-items: center; }
.mini-question .choice-copy small { display: none; }

.guide-visual {
  margin: 20px 0 22px;
  overflow: hidden;
  border: 1px solid #cfe3e2;
  border-radius: 19px;
  background: #f7fbfb;
  box-shadow: 0 12px 28px rgba(17,58,64,.075);
}

.guide-visual img {
  display: block;
  width: 100%;
  max-height: 390px;
  object-fit: cover;
  object-position: center;
  background: #eef5f5;
}

.guide-visual figcaption {
  display: grid;
  gap: 5px;
  padding: 16px 18px 18px;
  border-top: 4px solid var(--brand);
  background: linear-gradient(90deg, #f0fbfa, #fffaf0);
}

.guide-visual figcaption b { color: var(--brand-dark); }
.guide-visual figcaption span { color: var(--muted); font-size: .9rem; line-height: 1.48; }

.info-box, .automatic-box {
  margin-top: 20px;
  border-radius: 16px;
  padding: 17px 19px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.45;
}

.info-box { background: linear-gradient(135deg, var(--blue), #f8fbff); border: 1px solid #cfe3f4; }
.automatic-box { background: linear-gradient(135deg, var(--green-soft), #f5fcf8); border: 1px solid #bde4d1; }
.info-box > b, .automatic-box > b { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--blue-strong); }
.automatic-box > b { background: var(--green); }
.info-box b, .automatic-box b { display: block; margin-bottom: 3px; }
.info-box span, .automatic-box span { color: var(--muted); font-size: .9rem; }

.kfw-facts {
  margin-top: 20px;
  padding: 18px;
  display: grid;
  gap: 7px;
  border: 1px solid #b7d4d6;
  border-radius: 15px;
  background: #f4fafb;
}

.kfw-facts strong { color: var(--brand-dark); }
.kfw-facts span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.kfw-facts a, .funding-result a { color: var(--brand-dark); font-weight: 700; font-size: .88rem; }

.income-explainer {
  margin: 20px 0 14px;
  padding: 17px 18px;
  border: 1px solid #bde8e3;
  border-radius: 15px;
  background: var(--brand-soft);
}

.income-explainer strong { display: block; margin-bottom: 7px; color: var(--brand-dark); }
.income-explainer p { margin: 5px 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.income-grid { margin-top: 0; }
.income-grid.is-disabled { opacity: .55; }
.check-line { display: flex; align-items: center; gap: 10px; margin: 12px 0 18px; color: var(--muted); font-size: .9rem; cursor: pointer; }
.check-line input { width: 18px; height: 18px; accent-color: var(--brand); }
.check-line + .check-line { margin-top: -7px; }
.estimate-warning { display: grid; gap: 4px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--warn-line); border-radius: 13px; background: var(--warn); }
.estimate-warning b { color: #7c5517; }
.estimate-warning span { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.estimate-warning.compact { margin: 15px 0 0; }

.series-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 17px 0;
}

.series-price-card { padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: #fbfdfd; }
.series-price-card.selected { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.series-price-card > span, .series-price-card > small { display: block; color: var(--muted); font-size: .8rem; }
.series-price-card > strong { display: block; margin: 6px 0 3px; color: var(--brand-dark); font-size: 1.35rem; letter-spacing: -.025em; }
.series-price-card p { margin: 13px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.48; }

.upload-box {
  margin-top: 22px;
  padding: 20px;
  border: 1.5px dashed #85bcb9;
  border-radius: 18px;
  background: linear-gradient(135deg, #f1fbfa, #fffaf0);
  position: relative;
}

.upload-box label { display: flex; align-items: center; gap: 13px; cursor: pointer; }
.upload-box input { position: absolute; opacity: 0; pointer-events: none; }
.upload-box:hover { border-color: var(--brand); box-shadow: 0 10px 24px rgba(17,58,64,.07); }
.upload-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #d9f5f2, #fff0c9); color: var(--brand-dark); font-size: 1.35rem; }
.upload-copy { display: grid; gap: 4px; }
.upload-copy small { color: var(--muted); }
.upload-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.upload-title em { padding: 4px 7px; border-radius: 999px; color: #6c531a; background: #ffeab4; font-size: .68rem; font-style: normal; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.upload-box.is-required .upload-title em { color: white; background: #a33a32; }
.photo-preview { margin-top: 14px; width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; }

.electrical-check-note {
  margin-top: 14px;
  padding: 17px 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid #efd184;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7df, #fffdf7);
}
.electrical-check-note > span { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #ffe7a7; font-size: 1.1rem; }
.electrical-check-note b { color: #765313; }
.electrical-check-note p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.48; }

.navigation {
  border-top: 1px solid var(--line);
  padding: 20px 34px 26px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(90deg, #fbfefe, #fffaf2);
}

.back-button { min-width: 110px; border-color: #c6dddd; color: var(--brand-dark); }
.next-button {
  border: 0;
  border-radius: 12px;
  padding: 13px 22px;
  min-width: 170px;
  background: linear-gradient(110deg, var(--brand-dark), var(--brand), #23aa75);
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0,127,131,.24);
}

.next-button:hover { filter: brightness(.94); transform: translateY(-1px); }
.next-button:disabled { background: #a9babb; cursor: not-allowed; box-shadow: none; }

.summary {
  position: sticky;
  top: 110px;
  border: 1px solid rgba(0,127,131,.14);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 22px 56px rgba(17, 58, 64, .11);
  overflow: hidden;
}

.summary-head { padding: 24px 24px 22px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 12px; border-bottom: 0; color: white; background: radial-gradient(circle at 100% 0, rgba(255,211,109,.23), transparent 10rem), linear-gradient(135deg, #0b4550, #087e7d); }
.kkw-interview-generator .summary-head .eyebrow { color: #aeeae5; margin-bottom: 7px; }
.kkw-interview-generator .summary-head h2 { margin: 0; color: white; font-size: 1.28rem; line-height: 1.18; letter-spacing: -.02em; }
.summary-head > span { height: fit-content; background: #ffd36d; color: #49370c; border-radius: 999px; padding: 7px 10px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.summary-content { padding: 18px 24px; display: grid; gap: 12px; max-height: 52vh; overflow: auto; }

.empty-summary { text-align: center; color: var(--muted); padding: 18px 0; }
.empty-summary span { margin: 0 auto 10px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 999px; display: grid; place-items: center; color: var(--brand-dark); font-weight: 700; }
.empty-summary p { line-height: 1.45; font-size: .9rem; }

.summary-room, .summary-block { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 14px; padding: 14px; background: linear-gradient(135deg, #fff, #f5fbfa); }
.summary-room:nth-child(3n + 2), .summary-block:nth-child(3n + 2) { border-left-color: var(--blue-strong); background: linear-gradient(135deg, #fff, #f2f7fd); }
.summary-room:nth-child(3n), .summary-block:nth-child(3n) { border-left-color: var(--accent); background: linear-gradient(135deg, #fff, #fff8e8); }
.summary-room header, .summary-block header { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px; }
.summary-room header strong, .summary-block header strong { font-size: .92rem; }
.summary-room header button { border: 0; background: none; color: var(--brand-dark); font-size: .78rem; font-weight: 700; cursor: pointer; }
.summary-room p, .summary-block p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.summary-room .tech-line { margin-top: 8px; color: var(--ok); font-weight: 700; }

.summary-note { padding: 18px 24px 21px; border-top: 1px solid #cde6e2; background: linear-gradient(135deg, #eaf8f5, #f7fcfb); display: grid; gap: 5px; }
.summary-note strong { font-size: .88rem; }
.summary-note span { color: var(--muted); font-size: .82rem; line-height: 1.4; }

.technical-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 20px;
}

.technical-preview article { border: 1px solid var(--line); border-radius: 15px; padding: 16px; }
.technical-preview span { color: var(--muted); font-size: .78rem; display: block; margin-bottom: 5px; }
.technical-preview strong { font-size: 1rem; }

.result-header { border-radius: 18px; padding: 22px; color: white; background: linear-gradient(135deg, #073f48, #008c8f); margin-bottom: 20px; }
.result-header .eyebrow { color: #a5efea; }
.result-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 7px; }
.result-header p { margin-bottom: 0; color: rgba(255,255,255,.8); }
.price-range { margin-top: 20px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.price-range strong { font-size: clamp(1.8rem, 5vw, 3rem); letter-spacing: -.04em; }
.price-range span { color: rgba(255,255,255,.75); }

.equipment-plan {
  margin-bottom: 20px;
  padding: 21px;
  border: 1px solid #a9d7d2;
  border-radius: 18px;
  background: #f3fbfa;
}

.equipment-plan-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.equipment-plan-head span { color: var(--brand-dark); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.equipment-plan-head h3 { margin: 6px 0 0; font-size: 1.35rem; }
.equipment-plan-head > b { color: var(--brand-dark); text-align: right; }

.equipment-groups { display: grid; gap: 11px; margin-top: 17px; }
.equipment-group { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.equipment-group header { display: grid; gap: 4px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.equipment-group header span { color: var(--brand-dark); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.equipment-group header strong { font-size: .98rem; }
.equipment-group ul { list-style: none; display: grid; gap: 9px; margin: 12px 0 0; padding: 0; }
.equipment-group li { display: grid; gap: 2px; }
.equipment-group li b { font-size: .9rem; }
.equipment-group li span { color: var(--muted); font-size: .84rem; }

.plan-reasons { margin-top: 16px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.plan-reasons > strong { color: var(--ink); }
.plan-reasons ul { margin: 7px 0 0; padding-left: 20px; }
.plan-reasons li + li { margin-top: 4px; }

.system-count-editor { margin-top: 17px; padding: 16px; border-radius: 14px; background: white; }
.system-count-editor > div:first-child { display: grid; gap: 3px; }
.system-count-editor > div:first-child span { color: var(--muted); font-size: .87rem; }
.system-count-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.system-count-button { min-width: 120px; padding: 10px 12px; display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); text-align: left; cursor: pointer; }
.system-count-button b { color: var(--brand-dark); font-size: 1.05rem; }
.system-count-button span { color: var(--muted); font-size: .78rem; }
.system-count-button.selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.use-recommendation { margin-top: 10px; border: 0; background: none; color: var(--brand-dark); font-weight: 700; cursor: pointer; padding: 4px 0; }
.system-change-note { margin: 11px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.plan-edit-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.plan-edit-actions button { padding: 9px 12px; border: 1px solid #a9d7d2; border-radius: 10px; background: transparent; color: var(--brand-dark); font-weight: 700; cursor: pointer; }
.plan-edit-actions button:hover { background: white; }
.equipment-plan > small { display: block; margin-top: 14px; color: var(--muted); line-height: 1.45; }

.funding-result {
  margin-bottom: 20px;
  padding: 21px;
  border: 1px solid var(--warn-line);
  border-radius: 18px;
  background: var(--warn);
}

.funding-result.eligible {
  border-color: #94d6c7;
  background: #ecfaf6;
}

.funding-result.ineligible {
  border-color: #efb2a8;
  background: linear-gradient(135deg, #fff0ed, #fff9f7);
}

.funding-result.ineligible .funding-result-head > b { color: #963b31; font-size: .82rem; }

.funding-denial-reason { margin-top: 16px; padding: 16px 17px; border-radius: 14px; background: rgba(255,255,255,.78); border: 1px solid rgba(138,45,37,.15); }
.funding-denial-reason strong { color: #7f312a; }
.funding-denial-reason p { margin: 6px 0 0; }

.funding-skip-note { margin-top: 14px; padding: 17px 18px; display: flex; align-items: flex-start; gap: 13px; border: 1px solid #efb2a8; border-radius: 16px; background: linear-gradient(135deg, #fff0ed, #fff9f7); }
.funding-skip-note > span { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: white; background: #ad4b40; font-size: 1.15rem; font-weight: 700; }
.funding-skip-note b { color: #7f312a; }
.funding-skip-note p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.48; }

.funding-result-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.funding-result-head span { color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.funding-result-head h3 { margin: 5px 0 0; font-size: 1.35rem; }
.funding-result-head > b { color: var(--brand-dark); font-size: 1.2rem; text-align: right; }
.funding-result p { margin: 14px 0; color: var(--muted); }
.funding-result small { display: block; margin-top: 14px; color: var(--muted); line-height: 1.45; }
.funding-result a { display: inline-block; margin-top: 11px; }

.funding-breakdown { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.funding-breakdown span { padding: 7px 9px; background: rgba(255,255,255,.76); border: 1px solid #cce7df; border-radius: 999px; color: var(--ok); font-size: .78rem; font-weight: 700; }
.funding-reasons { margin-top: 15px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.funding-reasons strong { color: var(--ink); }
.funding-reasons ul { margin: 7px 0 0; padding-left: 20px; }
.funding-reasons li + li { margin-top: 4px; }
.customer-share { margin-top: 16px; padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 13px; background: white; }
.customer-share span { color: var(--muted); font-size: .88rem; }
.customer-share strong { color: var(--ok); font-size: 1.35rem; }

.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.result-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.result-card h3 { font-size: 1rem; margin-bottom: 9px; }
.result-card p, .result-card li { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.result-card ul { margin: 0; padding-left: 20px; }

.pdf-next-steps { margin-top: 20px; padding: 21px; border: 1px solid var(--line); border-radius: 18px; background: #fbfdfd; }
.pdf-next-steps-head span { color: var(--brand-dark); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.pdf-next-steps-head h3 { margin: 6px 0 0; font-size: 1.25rem; }
.pdf-next-steps ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: funding-step; display: grid; gap: 13px; }
.pdf-next-steps li { position: relative; min-height: 34px; padding-left: 46px; counter-increment: funding-step; }
.pdf-next-steps li::before { content: counter(funding-step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-weight: 700; }
.pdf-next-steps li b, .pdf-next-steps li span { display: block; }
.pdf-next-steps li span { margin-top: 2px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.pdf-next-steps small { display: block; margin-top: 17px; color: var(--muted); line-height: 1.45; }

.transfer-panel { margin-top: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #f9fcfc; }
.transfer-panel h3 { margin-bottom: 7px; font-size: 1.25rem; }
.transfer-panel > p { margin-bottom: 18px; color: var(--muted); line-height: 1.5; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-grid .field { display: grid; gap: 7px; color: var(--ink); font-weight: 700; }
.contact-grid .field span { font-size: .88rem; }
.contact-grid input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #bdd0d2; border-radius: 11px; background: white; color: var(--ink); }
.contact-grid input:focus { outline: 3px solid rgba(0,166,166,.18); border-color: var(--brand); }
.company-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-line { margin: 16px 0; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.consent-line input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--brand); }
.transfer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdf-button, .send-button { min-height: 50px; border-radius: 12px; padding: 12px 15px; font-weight: 700; cursor: pointer; }
.pdf-button { border: 1px solid var(--brand); background: white; color: var(--brand-dark); }
.send-button { border: 0; background: var(--brand); color: white !important; }
.send-button:hover, .booking-button:hover { background: var(--brand-dark); }
.send-button:disabled, .pdf-button:disabled { opacity: .55; cursor: wait; }
.transfer-status { margin-top: 14px; padding: 13px 15px; border-radius: 12px; font-size: .9rem; line-height: 1.45; }
.transfer-status.sending { color: var(--brand-dark); background: var(--brand-soft); }
.transfer-status.error { color: #8a2d25; background: #fff0ed; border: 1px solid #f0c2ba; }
.transfer-status.success { color: #075e49; background: #e9f8f1; border: 1px solid #b9e3d3; }
.booking-choice { margin-top: 16px; padding: 18px; border-radius: 15px; background: var(--brand-soft); border: 1px solid #bde8e3; }
.booking-choice h3 { margin-bottom: 5px; }
.booking-choice p { margin-bottom: 13px; color: var(--muted); }
.booking-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-button { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 15px; border-radius: 11px; background: var(--brand); color: white; text-decoration: none; font-weight: 700; white-space: nowrap; }

.error-message { margin-top: 15px; color: #a33a32; font-weight: 700; font-size: .9rem; }

.kkw-interview-generator .generator-footer {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: .82rem;
}

@media (max-width: 980px) {
  .app-shell { grid-template-columns: 1fr; margin-top: 24px; }
  .summary { position: static; order: 1; }
  .summary-content { max-height: none; }
  .summary-note { display: none; }
}

@media (max-width: 700px) {
  .app-shell { width: min(100% - 20px, 1240px); gap: 14px; margin-bottom: 28px; }
  .planner, .summary { border-radius: 18px; }
  .planner-top { min-height: 0; padding: 25px 20px 23px; display: grid; }
  .kkw-interview-generator h1 { font-size: clamp(1.85rem, 9vw, 2.35rem); }
  .planner-promises { margin-top: 18px; gap: 6px; }
  .planner-promises span { padding: 7px 9px; font-size: .72rem; }
  .planner-top .quiet-button { justify-self: start; margin-top: 3px; font-size: .76rem; padding: 8px 11px; white-space: nowrap; }
  .planner-progress { padding: 16px 20px 18px; }
  .interview-card { padding: 24px 20px; min-height: 460px; }
  .question-lead { font-size: .98rem; }
  .guide-visual img { max-height: 280px; }
  .guide-visual figcaption { padding: 13px 14px 15px; }
  .choices, .choices.cols-3 { grid-template-columns: 1fr; }
  .choices.cols-5 { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .choices.cols-5 .choice-card { min-height: 86px; padding: 10px 5px; }
  .field-grid, .result-grid, .technical-preview, .series-price-grid, .contact-grid, .transfer-actions, .booking-links { grid-template-columns: 1fr; }
  .mini-question .choices { grid-template-columns: 1fr; }
  .navigation { padding: 16px 20px 21px; position: sticky; bottom: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); z-index: 10; }
  .back-button { min-width: 90px; }
  .next-button { flex: 1; min-width: 0; }
  .summary-head { padding: 17px 18px; cursor: pointer; }
  .kkw-interview-generator .summary-head h2 { font-size: 1.12rem; }
  .summary-content { display: none; padding: 14px 18px; }
  .summary.open .summary-content { display: grid; }
  .funding-result-head, .customer-share { display: grid; }
  .funding-result-head > b { text-align: left; }
  .equipment-plan-head { display: grid; }
  .equipment-plan-head > b { text-align: left; }
  .system-count-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-count-button { min-width: 0; }
  .booking-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .kkw-interview-generator, .kkw-interview-generator *, .kkw-interview-generator *::before, .kkw-interview-generator *::after { scroll-behavior: auto !important; transition: none !important; }
}
