/* ==========================================================================
   ProFix Home – stylesheet
   Kleuren afgeleid van het logo: donkerblauw (navy) + oranje.
   ========================================================================== */

:root {
  --navy: #011a38;
  --navy-2: #0a2b55;
  --navy-3: #13406f;
  --orange: #f99a10;
  --orange-2: #ffb340;
  --orange-ink: #9a5200;      /* oranje voor tekst op wit (contrast ≥ 4.5:1) */
  --wa: #137d3e;
  --wa-ink: #0d6430;
  --ink: #0d1b2e;
  --muted: #4a5a70;
  --line: #dfe5ee;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(1, 26, 56, .06), 0 8px 24px rgba(1, 26, 56, .08);
  --container: 1180px;
  --header-h: 76px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Montserrat", "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Placeholder-markering: valt op zodat je ziet wat nog ingevuld moet worden */
mark.placeholder {
  background: #fff3b0; color: #5a4300; border: 1px dashed #b38b00;
  border-radius: 4px; padding: 0 .25em; font-weight: 600;
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.3em; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-2); color: var(--navy); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-ink); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-ghost-dark:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { color: var(--orange-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 60px; width: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: 10px 12px; white-space: nowrap; color: #e8eef7; text-decoration: none; font-weight: 600; border-radius: var(--radius-sm);
}
.main-nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav-cta { min-height: 44px; padding: .55em 1.1em; white-space: nowrap; }

.header-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 3px; }
.lang-switch a {
  display: grid; place-items: center; min-width: 40px; min-height: 36px; padding: 0 8px;
  color: #dbe4f0; text-decoration: none; font-weight: 700; font-size: .85rem; border-radius: 999px;
}
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,.1); }
.lang-switch a[aria-current="true"] { background: var(--orange); color: var(--navy); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer; place-items: center;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

@media (max-width: 1139px) {
  :root { --header-h: 66px; }
  .brand img { height: 50px; }
  .header-tools { margin-left: auto; }
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--navy); padding: 12px 20px 24px; border-top: 1px solid rgba(255,255,255,.1);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a:not(.btn) { padding: 14px 8px; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); padding-left: 16px; }
  .nav-cta { min-height: 52px; }
  /* Zonder JavaScript: menu altijd tonen */
  .no-js .main-nav { position: static; display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #e8eef7;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(249,154,16,.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero::after { /* subtiele dakvorm als verwijzing naar het logo */
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 520px; height: 360px;
  border: 26px solid rgba(255,255,255,.05); border-bottom: 0; border-right: 0;
  transform: rotate(45deg); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.25fr .9fr; gap: 56px; } }
.hero h1 { color: #fff; margin-bottom: .35em; }
.eyebrow { color: var(--orange); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin-bottom: 1em; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 40em; }
.hero .lead { color: #d3dcea; margin-bottom: 1.6em; }
.promises { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.promises li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.promises .icon { color: var(--orange); }

.hero-card {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
  border-top: 5px solid var(--orange);
}
.hero-card h2 { font-size: 1.4rem; }
.hero-card > p { color: var(--muted); }
.quick-list { display: grid; gap: 10px; margin: 18px 0; }
.quick-list a {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--navy); font-weight: 700; transition: border-color .15s, background-color .15s;
}
.quick-list a:hover { border-color: var(--navy); background: var(--bg-alt); }
.quick-list .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--navy); color: var(--orange); }
.quick-list li:nth-child(2) .icon { background: var(--wa); color: #fff; }
.quick-list small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.quick-list span { overflow-wrap: anywhere; }
.quick-areas { display: flex; gap: 8px; font-size: .95rem; color: var(--muted); margin: 0; }
.quick-areas .icon { color: var(--orange-ink); margin-top: 3px; }

/* ---------- Secties ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-more { margin: 32px 0 0; }

.page-hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #d3dcea; padding: clamp(40px, 6vw, 72px) 0; }
.page-hero h1 { color: #fff; }
.page-hero .lead { margin: 0; }
.contact-person { margin: 14px 0 0; color: #fff; }

/* ---------- Diensten ---------- */
.service-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s;
}
.service-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.service-card h3 a { color: var(--navy); text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; } /* hele kaart klikbaar */
.service-card p { color: var(--muted); margin: 0; }
.service-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: rgba(249,154,16,.14); color: var(--orange-ink); margin-bottom: 16px;
}
.service-icon .icon { width: 28px; height: 28px; }
.service-icon-lg { width: 64px; height: 64px; }
.service-icon-lg .icon { width: 34px; height: 34px; }

.service-list { display: grid; gap: 24px; }
.service-detail {
  display: grid; gap: 8px 28px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
@media (min-width: 720px) { .service-detail { grid-template-columns: auto 1fr; } }
.service-detail > div > p { color: var(--muted); max-width: 60em; }
.checklist { display: grid; gap: 8px; margin: 14px 0 18px; }
@media (min-width: 720px) { .service-detail .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--wa); margin-top: 3px; }
.service-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; }

/* ---------- Projecten (teasers op home) ---------- */
.project-teasers { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.teaser a { display: block; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.teaser-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.teaser-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.teaser a:hover img { transform: scale(1.03); }
.teaser-body { padding: 18px 20px 20px; }
.teaser-body h3 { margin-bottom: .3em; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--muted); font-size: .92rem; margin: 0 0 .6em; }
.meta > span, p.meta { display: inline-flex; align-items: center; gap: 6px; }
.meta .icon { width: 1.05em; height: 1.05em; }
.badge {
  position: absolute; top: 12px; left: 12px; background: #fff3b0; color: #5a4300; border: 1px dashed #b38b00;
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px;
}
.tag { background: var(--navy); color: #fff !important; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: .8rem; }

/* ---------- Projecten-pagina ---------- */
.notice { background: #fff8db; border: 1px solid #ecd27a; color: #5a4300; padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff;
  color: var(--navy); font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.project-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .project-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.project { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project[hidden] { display: none; }
.project-media { position: relative; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.zoom-hint {
  position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(1,26,56,.75); color: #fff;
}
.project-body { padding: 22px 24px 26px; }
.project-body h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
.project-body > p:not(.meta) { color: var(--muted); }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.thumbs a { display: block; width: 96px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.thumbs a:hover img { opacity: .85; }
.empty { color: var(--muted); font-size: 1.1rem; }

/* Voor/na-slider */
.ba { margin: 18px 0 0; }
.ba-frame { --pos: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); user-select: none; }
.ba-frame picture, .ba-frame .ba-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-frame img { width: 100%; height: 100%; object-fit: cover; }
.ba-frame img.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none;
}
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--navy);
  display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba-range:focus-visible ~ .ba-handle, .ba-frame:has(.ba-range:focus-visible) .ba-handle::after { outline: 3px solid #fff; outline-offset: 2px; }
.ba-label {
  position: absolute; top: 12px; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 800;
  background: rgba(1,26,56,.8); color: #fff; pointer-events: none; text-transform: uppercase; letter-spacing: .05em;
}
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; background: var(--orange); color: var(--navy); }
.ba figcaption { color: var(--muted); font-size: .92rem; margin-top: 8px; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(1, 12, 26, .96); color: #fff;
}
.lightbox::backdrop { background: rgba(1, 12, 26, .9); }
.lb-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 16px 72px; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lb-img { max-width: min(1600px, 100%); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb-caption { text-align: center; color: #d3dcea; font-size: .95rem; padding: 0 56px; }
.lb-count { color: var(--orange); font-weight: 700; margin-left: 6px; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
}
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-btn .icon { width: 28px; height: 28px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
}

/* Werkwijze-stappen */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius); background: var(--bg-alt); border-left: 5px solid var(--orange); }
.steps p { color: var(--muted); margin: 0; }

/* Over ons */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.prose { max-width: 720px; }
.prose p { color: #26364d; }
.area-card { background: var(--navy); color: #d3dcea; border-radius: var(--radius); padding: 28px; }
.area-card h2 { color: #fff; font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.area-card h2 .icon { color: var(--orange); }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.area-list li { background: rgba(255,255,255,.1); color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.values { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.values li { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.values p { color: var(--muted); margin: 0; }

/* Contact */
.contact-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contact-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.35rem; }
.contact-card > p { color: var(--muted); }
.contact-card .btn { margin-top: auto; }
.contact-value { font-weight: 800; color: var(--navy) !important; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--orange); margin-bottom: 16px; }
.contact-icon .icon { width: 28px; height: 28px; }
.contact-icon-wa { background: var(--wa); color: #fff; }
.contact-info { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 860px) { .contact-info { grid-template-columns: 1fr 1fr; } }
.info-block { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.info-block h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.info-block h2 .icon { color: var(--orange-ink); }
.info-block .area-list li { background: #fff; color: var(--navy); border: 1px solid var(--line); }

/* CTA-band */
.cta-band { background: var(--navy); color: #d3dcea; padding: clamp(48px, 6vw, 72px) 0; border-top: 5px solid var(--orange); }
.cta-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; font-size: 1.1rem; }

/* Footer */
.site-footer { background: #000f22; color: #b8c4d6; padding: 56px 0 24px; font-size: .97rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-brand img { width: 160px; margin-bottom: 12px; }
.footer-title { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer a { color: #e8eef7; text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.footer-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; overflow-wrap: anywhere; }
.footer-list .icon { color: var(--orange); }
.footer-areas li, .footer-links li { margin-bottom: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* Vaste contactbalk op mobiel */
.mobile-bar { display: none; }
@media (max-width: 1139px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); box-shadow: 0 -4px 18px rgba(1,26,56,.12);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px;
    font-weight: 800; text-decoration: none;
  }
  .mobile-bar-call { background: var(--orange); color: var(--navy); }
  .mobile-bar-wa { background: var(--wa); color: #fff; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .mobile-bar, .cta-band, .filters, .lightbox { display: none !important; }
}

/* ---------- Projectdetail ---------- */
.project-media .project-cover { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-cover:hover img { transform: scale(1.03); }
.project-title-link { color: inherit; text-decoration: none; }
.project-title-link:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.project-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 4px 0 6px; }
.steps-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--muted); font-size: .92rem; }
.steps-badge .icon { color: var(--wa); }

.breadcrumb { font-size: .92rem; margin-bottom: 14px; color: #b8c4d6; }
.breadcrumb a { color: #fff; }
.meta-light { color: #d3dcea; margin: 0; }
.tag-light { background: var(--orange); color: var(--navy) !important; }
.badge-inline { position: static; }

.detail-grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.detail-cover { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--line); margin-bottom: 24px; }
.detail-cover img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
.detail-lead { color: var(--ink); font-weight: 500; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; border-top: 5px solid var(--orange); display: grid; gap: 12px; }
.aside-card h2 { font-size: 1.3rem; margin: 0; }
.aside-card p { color: var(--muted); margin: 0; }
.aside-link { margin-top: 4px !important; }

.detail-block { margin-top: clamp(40px, 6vw, 64px); }
.detail-gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.detail-gallery a, .timeline-photos a { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); }
.detail-gallery img, .timeline-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.detail-gallery a:hover img, .timeline-photos a:hover img { transform: scale(1.04); }
.detail-ba { display: grid; gap: 24px; }
@media (min-width: 900px) { .detail-ba { grid-template-columns: 1fr 1fr; } }

.timeline { position: relative; display: grid; gap: 28px; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 3px; background: var(--line); border-radius: 2px; }
.timeline-step { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 18px; }
.timeline-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--orange); font-weight: 800; font-size: 1.15rem; box-shadow: 0 0 0 5px #fff;
}
.timeline-body { padding-top: 8px; }
.timeline-body h3 { margin-bottom: .35em; }
.timeline-body .step-text p { color: var(--muted); }
.timeline-photos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-top: 10px; }

.project-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: clamp(40px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.project-nav-link { display: grid; gap: 2px; text-decoration: none; color: var(--navy); font-weight: 700; }
.project-nav-link small { color: var(--muted); font-weight: 600; }
.project-nav-link.is-next { text-align: right; }
@media (max-width: 640px) {
  .project-nav { grid-template-columns: 1fr 1fr; }
  .project-nav .btn { grid-column: 1 / -1; grid-row: 2; }
}

/* Instagram */
.btn-instagram { background: #c13584; color: #fff; }
.btn-instagram:hover { background: #a02a6d; color: #fff; }
.contact-icon-ig { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); color: #fff; }
.quick-list li:nth-child(4) .icon { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); color: #fff; }
.contact-cards { grid-template-columns: 1fr; }
@media (min-width: 620px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }

/* Dikey (portre) fotoğraflar kırpılırken alt-orta kısma odaklan */
img.is-portrait { object-position: 50% 68%; }
.detail-cover img.is-portrait { object-position: 50% 50%; }
.project-cover picture, .teaser-media picture, .thumbs picture, .detail-gallery picture, .timeline-photos picture { height: 100%; }
/* Dikey önce/sonra fotoğrafları: kırpmadan dik çerçeve */
.ba-frame:has(img.is-portrait) { aspect-ratio: 3 / 4; max-width: 520px; margin-inline: auto; }
.project .ba-frame:has(img.is-portrait) { max-width: 420px; }
