/* ══════════════════════════════════════════════════════════════
   PERMANENTIE.BE — SOCIALE WONINGEN RENOVEREN
   Kleurenschema: warm terra — mocha, linen, parchment, accent rood-bruin
   Requires perm-global.css loaded first.
   ══════════════════════════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

:root {
  --swr-accent:   #567C8D;
  --swr-accent2:  rgba(86,124,141,0.7);
  --text-body:    rgba(58,45,40,0.72);
  --accent:       #567C8D;
}

/* ── CONTAINER ── */
.swr-container {
  padding: clamp(60px, 9vw, 110px) var(--gutter);
  max-width: var(--perm-container, 1400px);
  margin: 0 auto;
}
/* Fasen section: header padded, grid full-width */
.swr-container--fasen {
  padding: 0;
  max-width: 100%;
}
.swr-container--fasen .swr-fasen-header {
  padding: clamp(60px, 9vw, 110px) var(--gutter) clamp(36px, 5vw, 56px);
  max-width: var(--perm-container, 1400px);
  margin-left: auto;
  margin-right: auto;
}
.swr-container--fasen .swr-fasen-grid {
  padding-bottom: clamp(60px, 9vw, 110px);
}

/* ── SECTION LABEL ── */
.swr-sec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--swr-accent);
  opacity: .85;
  display: block;
  margin-bottom: 14px;
}
.swr-sec-label--light {
  color: rgba(200,217,230,0.75);
}

.swr-section-title {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #2F4156;
  margin-bottom: 16px;
}
.swr-title-light {
  color: #F5EFEB;
}
.swr-title-light em {
  color: rgba(200,217,230,0.85);
  font-style: italic;
}
.swr-section-intro {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--text-body);
  max-width: 58ch;
  line-height: 1.8;
}

/* ── GHOST BUTTON WARM ── */
.btn-ghost-warm {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(200,217,230,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,217,230,0.25);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.btn-ghost-warm:hover {
  color: #F5EFEB;
  border-color: rgba(200,217,230,0.5);
}

/* ══════════════════════════════════════════
   1. HERO — split layout
══════════════════════════════════════════ */
.swr-hero {
  display: grid;
  grid-template-columns: 52% 48%;
  grid-template-rows: auto auto;
  background: #251B17;
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.swr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 55% 70% at 18% 60%, rgba(122,59,59,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 5% 100%, rgba(122,59,59,0.10) 0%, transparent 60%);
  pointer-events: none;
}


.swr-hero-text {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 10vw, 130px) clamp(28px, 4.5vw, 60px) clamp(32px, 4vw, 48px);
  position: relative;
  z-index: 3;
}

.swr-hero-photo {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  padding: 24px 24px 24px 12px;
  display: flex;
  align-items: stretch;
}
.swr-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border: 1px solid rgba(200,217,230,0.18);
}

.swr-hero-stats {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(24,17,14,.75);
  border-top: 1px solid rgba(86,124,141,.22);
  backdrop-filter: blur(8px);
}
.swr-stat {
  padding: clamp(14px,1.8vw,20px) clamp(12px,2vw,24px);
  border-right: 1px solid rgba(86,124,141,.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.swr-stat:last-child { border-right: none; }
.swr-stat-num {
  font-family: var(--font-wordmark);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: #F5EFEB;
}
.swr-stat-unit {
  font-size: .45em;
  font-weight: 300;
  font-style: italic;
  opacity: .55;
  margin-left: 3px;
  font-family: var(--font-body);
}
.swr-stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(200,217,230,0.75);
  text-align: center;
  line-height: 1.4;
}

.swr-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(200,217,230,0.75);
  margin-bottom: 24px;
}
.swr-hero-title {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: rgba(245,239,235,0.92);
  margin-bottom: 20px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.swr-hero-title em {
  font-style: normal;
  font-weight: 900;
  color: #F5EFEB;
}
.swr-hero-sub {
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 300;
  color: rgba(245,239,235,0.75);
  max-width: 48ch;
  line-height: 1.75;
  margin-bottom: 28px;
  animation: fadeUp 0.7s 0.2s ease both;
}
.swr-hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(200,217,230,0.75);
  animation: fadeUp 0.7s 0.3s ease both;
  text-decoration: none;
  transition: color .2s;
}
.swr-hero-scroll:hover { color: rgba(200,217,230,0.75); }

/* ══════════════════════════════════════════
   2. SCENARIO CARDS — keten-stijl
══════════════════════════════════════════ */
.swr-scenarios {
  background: var(--perm-parchment);
  padding: clamp(60px, 9vw, 110px) var(--gutter);
}
.swr-section-header {
  margin-bottom: clamp(44px, 6vw, 72px);
}

.swr-scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(86,124,141,.12);
}

.swr-scenario-card {
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(86,124,141,.12);
  transition: background 400ms var(--ease-out);
}
.swr-scenario-card:last-child { border-right: none; }

/* Top accent line on hover — like keten-cards */
.swr-scenario-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out);
}
.swr-scenario-card--partial::before { background: var(--swr-accent); }
.swr-scenario-card--full::before    { background: var(--perm-blue); }
.swr-scenario-card:hover::before    { transform: scaleX(1); }
.swr-scenario-card:hover            { background: rgba(86,124,141,.03); }
.swr-scenario-card--full:hover      { background: rgba(200,217,230,.04); }

.swr-sc-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.swr-sc-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.swr-sc-icon--warm {
  border: 1px solid rgba(86,124,141,.45);
  background: rgba(86,124,141,.08);
  color: var(--swr-accent);
}
.swr-sc-icon--blue {
  border: 1px solid rgba(200,217,230,.4);
  background: rgba(200,217,230,.08);
  color: var(--perm-blue);
}
.swr-sc-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--swr-accent);
  opacity: .75;
  flex: 1;
}
.swr-scenario-card--full .swr-sc-tag { color: var(--perm-blue); }
.swr-sc-num {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 400;
  color: rgba(47,65,86,0.07);
  line-height: 1;
  letter-spacing: -.04em;
}

.swr-sc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  color: #2F4156;
  margin-bottom: 14px;
}
.swr-sc-body {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 20px;
}
.swr-sc-list {
  list-style: none;
  padding: 0; margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.swr-sc-list li {
  font-size: clamp(12px, 1.2vw, 13px);
  color: rgba(47,65,86,0.8);
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.6;
}
.swr-sc-list li::before {
  content: '—';
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--swr-accent);
  flex-shrink: 0;
}
.swr-scenario-card--full .swr-sc-list li::before { color: var(--perm-blue); }

.swr-sc-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(86,124,141,.1);
  margin-top: auto;
}
.swr-sc-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid rgba(86,124,141,.2);
  border-radius: 50px;
  color: rgba(47,65,86,0.8);
}
.swr-scenario-card--full .swr-sc-badge {
  border-color: rgba(200,217,230,.25);
  color: rgba(47,65,86,0.8);
}

/* ══════════════════════════════════════════
   3. FASEN — drie stappen
══════════════════════════════════════════ */
.swr-fasen {
  background: var(--perm-linen);
}
.swr-fasen-content {
  width: 100%;
}
.swr-fasen-header {
  margin-bottom: 0;
}
.swr-fasen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(47,65,86,0.14);
  border-bottom: 1px solid rgba(47,65,86,0.14);
}
.swr-fase {
  display: grid;
  grid-template-columns: 56px 1fr;
  border-right: 1px solid rgba(47,65,86,0.1);
  background: var(--perm-linen);
  transition: background 300ms ease;
}
.swr-fase:last-child { border-right: none; }
.swr-fase:hover { background: var(--perm-parchment); }

.swr-fase-num {
  padding: 34px 0 32px 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: #2F4156;
}
.swr-fase-body {
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 36px);
}
.swr-fase-title {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 700;
  color: #2F4156;
  margin-bottom: 12px;
}
.swr-fase-desc {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.8;
  color: rgba(47,65,86,0.8);
  margin-bottom: 16px;
}
.swr-fase-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--swr-accent);
  border: 1px solid rgba(86,124,141,.2);
  padding: 3px 10px;
  border-radius: 50px;
}

/* ══════════════════════════════════════════
   4. TIJDELIJKE HUISVESTING
══════════════════════════════════════════ */
.swr-tijdelijk {
  background: var(--perm-container);
}
.swr-tijdelijk-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.swr-tijdelijk-body {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.8;
  color: rgba(245,239,235,0.82);
  margin-bottom: 16px;
}
.swr-tijdelijk-list {
  list-style: none;
  padding: 0; margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.swr-tijdelijk-list li {
  font-size: clamp(13px, 1.3vw, 14px);
  color: rgba(245,239,235,0.78);
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.6;
}
.swr-tijdelijk-list li::before {
  content: '—';
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(200,217,230,0.5);
  flex-shrink: 0;
}
.swr-tijdelijk-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(200,217,230,0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,217,230,0.25);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.swr-tijdelijk-link:hover {
  color: #F5EFEB;
  border-color: rgba(200,217,230,0.5);
}
.swr-tijdelijk-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200,217,230,0.2);
  outline: 1px solid rgba(200,217,230,.07);
  outline-offset: 7px;
}
.swr-tijdelijk-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform .6s ease;
}
.swr-tijdelijk-photo:hover img { transform: scale(1.03); }
.swr-tijdelijk-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(13,21,32,.7), transparent);
}
.swr-photo-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(200,217,230,0.85);
}

/* ══════════════════════════════════════════
   5. FOTOBAND — schermbreed, gelijke hoogte
══════════════════════════════════════════ */
.swr-fotband {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 15px;
  height: calc(clamp(320px, 42vw, 560px) + 30px);
}
.swr-fotoband-item {
  margin: 0;
  overflow: hidden;
  position: relative;
}
.swr-fotoband-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .7s ease;
}
.swr-fotoband-item:hover img { transform: scale(1.04); }

/* ══════════════════════════════════════════
   AFSLUITING — empathisch
══════════════════════════════════════════ */
.swr-closing-bg {
  background: var(--perm-parchment);
}
.swr-closing-inner {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(86,124,141,.18);
  padding: 50px;
}
.swr-closing-pre {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #2F4156;
  margin-bottom: 20px;
}
.swr-closing-title {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #2F4156;
  margin-bottom: 32px;
}
.swr-closing-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}
.swr-closing-body p {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.85;
  color: var(--text-body);
}
.swr-closing-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .swr-fasen-grid { grid-template-columns: 1fr; }
  .swr-fase { border-right: none; border-bottom: 1px solid rgba(200,217,230,0.1); }
  .swr-fase:last-child { border-bottom: none; }
  .swr-tijdelijk-content { grid-template-columns: 1fr; }
  .swr-fotband { height: clamp(220px, 35vw, 380px); }
}
@media (max-width: 768px) {
  .swr-hero { grid-template-columns: 1fr; }
  .swr-hero-photo { display: none; }
  .swr-hero-text { padding-top: clamp(100px, 16vw, 140px); }
  .swr-hero-stats { grid-template-columns: 1fr 1fr; }
  .swr-stat:nth-child(2) { border-right: none; }
  .swr-stat:nth-child(3) { border-top: 1px solid rgba(86,124,141,.15); }
  .swr-stat:nth-child(4) { border-top: 1px solid rgba(86,124,141,.15); border-right: none; }
  .swr-scenari