/**
 * Premium Offerte CSS — v2 strak ontwerp
 * Gebaseerd op referentiebeelden BKG Solar
 */

/* ── Base Container ──────────────────────────── */
.offerte-page {
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  line-height: 1.55;
}

.offerte-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.offerte-toolbar h2 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.offerte-toolbar-btns {
  display: flex;
  gap: 0.75rem;
}

/* ── A4 Paper ─────────────────────────────────── */
.offerte-paper {
  background: #fff;
  border-radius: 14px;
  padding: 3rem 3.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.045);
  position: relative;
  overflow: hidden;
}

/* ── Section Numbering ────────────────────────── */
.off-section {
  margin-bottom: 3rem;
}

.off-section-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.off-section-num {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.off-section-ref {
  font-size: 0.78rem;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.off-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
  line-height: 1.2;
}

.off-section-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 2rem 0;
}

/* ── Header ───────────────────────────────────── */
.off-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 2.5rem;
}

.off-header-brand h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}

.off-header-brand h1 span { color: #0ea5e9; }

.off-header-brand p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.off-header-meta {
  text-align: right;
}

.off-header-meta .label {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.off-header-meta .ref {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
}

/* ── Hero ─────────────────────────────────────── */
.off-hero {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.off-hero-text { flex: 1; min-width: 0; }

.off-hero-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.off-hero-name {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.08;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  word-break: break-word;
}

.off-hero-address {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 1.75rem;
}

.off-hero-intro {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 1.5rem 0;
}

.off-hero-intro strong { color: #0f172a; font-weight: 700; }

.off-hero-tags {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.off-hero-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
}

.off-hero-tag-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  color: #16a34a;
  font-weight: 700;
}

/* ── House Illustration Wrap ─────────────────── */
.off-house-wrap {
  width: 300px;
  height: 300px;
  flex-shrink: 0;
  position: relative;
}

.off-house-svg {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.off-house-wrap:hover .off-house-svg {
  transform: scale(1.03);
}

/* Floating animation for the main house group */
.off-house-main {
  animation: offHouseFloat 4s ease-in-out infinite;
}

@keyframes offHouseFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* Orbit circle subtle rotation — not used in current design */

/* Solar panel shimmer */
.off-house-shimmer {
  animation: offShimmer 3s ease-in-out infinite;
}
@keyframes offShimmer {
  0%, 100% { opacity: 0.15; }
  50%      { opacity: 0.5; }
}

/* Heat pump fan spin */
.off-house-fan {
  animation: offFanSpin 2s linear infinite;
  transform-origin: 84px 346px;
}
@keyframes offFanSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* EMS signal pulse */
.off-house-signal {
  animation: offSignalPulse 2s ease-in-out infinite;
}
@keyframes offSignalPulse {
  0%, 100% { opacity: 0.15; }
  50%      { opacity: 0.6; }
}

/* Battery LED blink */
.off-house-led {
  animation: offLedBlink 2.5s ease-in-out infinite;
}
@keyframes offLedBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* EV charger screen pulse */
.off-house-ev-screen {
  animation: offEvPulse 3s ease-in-out infinite;
}
@keyframes offEvPulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

/* Sun pulse */
.off-house-sun-pulse {
  animation: offSunPulse 3s ease-in-out infinite;
}
@keyframes offSunPulse {
  0%, 100% { r: 6; opacity: 0.5; }
  50%      { r: 9; opacity: 0.8; }
}

/* Energy flow line animation */
.off-house-flow-line {
  animation: offFlowDash 2s linear infinite;
}
@keyframes offFlowDash {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -16; }
}

/* Floating bubbles — not used in current design */

/* Component hover highlight */
.off-house-component {
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.off-house-component-hover {
  filter: brightness(1.15) drop-shadow(0 0 6px rgba(16,185,129,0.35));
}

/* ── KPI Grid ─────────────────────────────────── */
.off-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.off-kpi {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.1rem 1rem;
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}

.off-kpi:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.off-kpi::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3.5px;
  background: #10b981;
}

.off-kpi.blue::before  { background: #0ea5e9; }
.off-kpi.orange::before { background: #f59e0b; }
.off-kpi.amber::before  { background: #f59e0b; }
.off-kpi.green::before  { background: #10b981; }

.off-kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.off-kpi-icon.icon-sun     { background: #fef3c7; color: #d97706; }
.off-kpi-icon.icon-save    { background: #dcfce7; color: #16a34a; }
.off-kpi-icon.icon-co2     { background: #d1fae5; color: #059669; }
.off-kpi-icon.icon-home    { background: #e0f2fe; color: #0284c7; }

.off-kpi-icon i {
  width: 18px; height: 18px;
}

.off-kpi-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.off-kpi-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.off-kpi-val .unit {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  margin-left: 2px;
}

/* ── Divider Line ─────────────────────────────── */
.off-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2.5rem 0;
}

/* ── Energy Comparison ────────────────────────── */
.off-verbruik-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.off-vb-item {
  flex: 1 1 calc(25% - 0.75rem);
  min-width: 170px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.off-vb-item.total {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.off-vb-item.gas {
  background: #fffbeb;
  border-color: #fde68a;
}

.off-vb-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #64748b;
  flex-shrink: 0;
}

.off-vb-icon i { width: 18px; height: 18px; }

.off-vb-icon.blue { background: #e0f2fe; color: #0284c7; }
.off-vb-icon.orange { background: #ffedd5; color: #ea580c; }
.off-vb-icon.green { background: #dcfce7; color: #16a34a; }
.off-vb-icon.yellow { background: #fef3c7; color: #d97706; }

.off-vb-text { flex: 1; min-width: 0; }

.off-vb-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.off-vb-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}
.off-vb-item.total .off-vb-val { color: #0284c7; }
.off-vb-item.gas .off-vb-val { color: #d97706; }

.off-energy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  align-items: stretch;
}

.off-energy-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.off-energy-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.off-energy-card-title.rood { color: #dc2626; }
.off-energy-card-title.groen { color: #10b981; }

.off-energy-body {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex: 1;
}

.off-donut-wrap {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.off-donut-wrap canvas {
  width: 110px !important;
  height: 110px !important;
}

.off-energy-legend { flex: 1; min-width: 0; }

.off-energy-total {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.off-energy-total.rood { color: #dc2626; }
.off-energy-total.groen { color: #10b981; }

.off-energy-per {
  font-size: 0.82rem;
  color: #334155;
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.off-legend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.off-legend-label {
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.off-legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.off-legend-val {
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

/* ── Besparing Banner ─────────────────────────── */
.off-besparing-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.off-besparing-left .bl-label,
.off-besparing-right .bl-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.off-besparing-left .bl-label { color: #10b981; }
.off-besparing-right .bl-label { color: #475569; }

.off-besparing-left .bl-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #10b981;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.off-besparing-left .bl-val .bl-sub {
  font-size: 0.9rem;
  font-weight: 400;
  color: #475569;
}

.off-besparing-right {
  text-align: right;
}

.off-besparing-right .bl-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: #0f172a;
}

/* ── Chart Container ──────────────────────────── */
.off-chart-box {
  margin-bottom: 2rem;
}

.off-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.off-chart-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f172a;
}

.off-chart-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: #64748b;
}

.off-chart-legend span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.off-chart-legend .dot {
  width: 10px; height: 10px;
  display: inline-block;
}

.off-chart-canvas-wrap {
  width: 100%;
  height: 220px;
  position: relative;
}

.off-chart-canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 220px !important;
}

/* ── CO2 Banner ───────────────────────────────── */
.off-co2-banner {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  background: #fafffe;
}

.off-co2-left .co2-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.off-co2-left .co2-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #0f172a;
}

.off-co2-left .co2-unit {
  font-size: 0.9rem;
  font-weight: 400;
  color: #64748b;
  margin-left: 0.3rem;
}

.off-co2-left .co2-desc {
  font-size: 0.88rem;
  color: #475569;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.off-co2-trees {
  font-size: 1.5rem;
  line-height: 1.8;
  text-align: right;
  max-width: 180px;
}

/* ── Config Cards ─────────────────────────────── */
.off-config-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  transition: box-shadow 0.2s, border-color 0.3s;
  cursor: pointer;
}

.off-config-card:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.off-config-chevron {
  color: #94a3b8;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
}

.off-config-detail {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.off-config-detail-inner {
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
}

.off-config-card.expanded {
  border-color: #3b82f6;
  box-shadow: 0 4px 20px rgba(59,130,246,0.10);
}

.off-config-card.expanded .off-config-chevron {
  transform: rotate(180deg);
}

.off-config-card.expanded .off-config-detail {
  max-height: 400px;
}

.off-config-icon {
  width: 52px; height: 52px;
  background: #f0fdf4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.off-config-icon i {
  color: #10b981;
  width: 24px; height: 24px;
}

.off-config-icon img {
  width: 40px; height: 40px;
  object-fit: contain;
}

.off-config-body {
  flex: 1;
  min-width: 0;
}

.off-config-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.15rem;
}

.off-config-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.3rem;
}

.off-config-specs {
  font-size: 0.82rem;
  color: #475569;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.off-config-specs strong { color: #0f172a; font-weight: 600; }

.off-config-ds {
  background: none;
  border: none;
  color: #0ea5e9;
  cursor: pointer;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.4rem;
}

.off-config-ds:hover { text-decoration: underline; }

.off-config-status {
  text-align: right;
  font-size: 0.78rem;
  color: #94a3b8;
  white-space: nowrap;
  line-height: 1.65;
}

.off-config-status .garantie {
  color: #10b981;
  font-weight: 500;
}



/* ── Financial Table ──────────────────────────── */
.off-fin-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
}

.off-fin-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.75rem 0;
  border-bottom: 2px solid #e2e8f0;
}

.off-fin-table th:last-child { text-align: right; }

.off-fin-table td {
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #334155;
}

.off-fin-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: #0f172a;
  white-space: nowrap;
}

.off-fin-table .row-sub td {
  padding-top: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}

.off-fin-table .row-btw td {
  color: #64748b;
  border-bottom: 2px solid #e2e8f0;
}

.off-fin-table .row-total td {
  padding: 1.25rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: none;
}

.off-fin-table .row-total td:last-child {
  color: #10b981;
  font-size: 1.3rem;
}

/* ── Cashflow Box ─────────────────────────────── */
.off-cashflow-box {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
}

.off-cashflow-box .off-chart-canvas-wrap {
  height: 200px;
}

.off-cashflow-box .off-chart-canvas-wrap canvas {
  height: 200px !important;
}

/* ── Footer Grid ──────────────────────────────── */
.off-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.off-footer-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.off-footer-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}

.off-footer-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.85;
}

.off-akkoord p {
  font-size: 0.88rem;
  color: #334155;
  margin: 0 0 2.5rem 0;
}

.off-signature {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #cbd5e1;
  padding-top: 0.5rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ── Bottom Bar ───────────────────────────────── */
.off-bottom-bar {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.off-bottom-bar .date { color: #0ea5e9; }

/* ── Page Break (screen: invisible — see print/PDF section below) ── */
.off-page-break { height: 0; }

/* ── Modal ────────────────────────────────────── */
.offerte-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.offerte-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.offerte-modal-content {
  background: #fff;
  border-radius: 12px;
  width: 96%;
  max-width: 1600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.offerte-modal-overlay.show .offerte-modal-content {
  transform: translateY(0);
}

.offerte-modal-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.offerte-modal-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
}

.offerte-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  padding: 0.25rem;
}

.offerte-modal-close:hover { color: #0f172a; }

.offerte-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offerte-modal-body img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
}

.offerte-modal-body iframe {
  width: 100%;
  height: 75vh;
  border: none;
}

/* ── Print & PDF ──────────────────────────────── */

/* Chapter header spacing (consistent across chapters) */
.off-chapter-header {
  padding: 1.5rem 0 1rem 0;
}

@media print {
  body { background: white !important; }
  .offerte-paper {
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }
  .no-print { display: none !important; }

  /* Page breaks between chapters (browser print only) */
  .off-page-break { page-break-before: always; padding-top: 1.5rem; }
  .off-chapter-start { page-break-before: always; }

  /* Prevent splitting elements across pages */
  .off-chart-box,
  .off-chart-canvas-wrap,
  .off-energy-grid,
  .off-energy-card,
  .off-besparing-banner,
  .off-co2-banner,
  .off-cashflow-box,
  .off-config-card,
  .off-kpi-grid,
  .off-verbruik-breakdown,
  .off-footer-grid,
  .off-footer-card,
  .off-hero,
  .off-header,
  canvas { page-break-inside: avoid; }
  .off-fin-table tr { page-break-inside: avoid; }

  /* Disable animations for print */
  .off-house-main,
  .off-house-orbit,
  .off-house-orbit-inner,
  .off-house-shimmer,
  .off-house-fan,
  .off-house-signal,
  .off-house-led,
  .off-house-ev-screen,
  .off-house-sun-pulse,
  .off-house-flow-line,
  .off-house-bubble {
    animation: none !important;
  }
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 700px) {
  .offerte-paper { padding: 1.5rem; }
  .off-hero { flex-direction: column; }
  .off-house-wrap { width: 200px; height: 200px; margin: 0 auto; }
  .off-hero-name { font-size: 2rem; }
  .off-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .off-energy-grid { grid-template-columns: 1fr; }
  .off-footer-grid { grid-template-columns: 1fr; }
}
