/* Layout: navy hero over a pale ground; content in two-part splits (heading left, ruled list right); the logo's four colours appear only as thin bars. */
:root {
  --navy: #142f7b;        /* logo wordmark */
  --navy-ink: #cdd6ee;    /* body text on navy */
  --ink: #1b2440;
  --muted: #4a5576;
  --ground: #f6f7fb;
  --white: #ffffff;
  --rule: #d6dbea;
  --rule-soft: #e3e7f0;
  --red: #d6312c;         /* logo quadrants */
  --green: #009541;
  --blue: #0073af;
  --yellow: #ffe019;

  --f-display: "Red Hat Display", "Segoe UI", "Helvetica Neue", sans-serif;
  --f-text: "Red Hat Text", "Segoe UI", "Helvetica Neue", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 3vw, 24px);
  --r: 6px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.6 var(--f-text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0; color: var(--navy); text-wrap: balance; }
h1, h2 { font-family: var(--f-display); font-weight: 900; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.65rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.4vw, 2.5rem); line-height: 1.1; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px; border-radius: var(--r); border: 1.5px solid transparent;
  font: 700 1rem/1 var(--f-text); text-decoration: none; cursor: pointer;
}
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--white); color: var(--navy); }
.btn-outline-light { border-color: #8fa3d9; color: var(--white); font-weight: 600; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--blue); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); font-weight: 600; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); }
.head-in { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand img { width: 132px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--blue); }
.head-call { display: grid; justify-items: end; line-height: 1.2; text-decoration: none; }
.head-call small { font-size: .75rem; color: #5a6585; font-weight: 500; }
.head-call span { font: 700 1.25rem/1.2 var(--f-display); color: var(--navy); white-space: nowrap; }
.head-call:hover span { color: var(--blue); }
.stripe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 5px; }
.stripe i:nth-child(1) { background: var(--red); }
.stripe i:nth-child(2) { background: var(--green); }
.stripe i:nth-child(3) { background: var(--blue); }
.stripe i:nth-child(4) { background: var(--yellow); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); cursor: pointer; }
.burger-lines, .burger-lines::before, .burger-lines::after {
  display: block; width: 20px; height: 2px; background: var(--navy); margin: 0 auto; position: relative; transition: transform .2s;
}
.burger-lines::before, .burger-lines::after { content: ""; position: absolute; left: 0; }
.burger-lines::before { top: -6px; }
.burger-lines::after { top: 6px; }
.site-head.open .burger-lines { background: transparent; }
.site-head.open .burger-lines::before { transform: translateY(6px) rotate(45deg); }
.site-head.open .burger-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); }
.hero-in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: clamp(56px, 7vw, 80px); }
.hero-text { flex: 1 1 480px; min-width: 0; display: grid; gap: 24px; }
.hero h1 { color: var(--white); }
.hero-lead { font-size: 1.19rem; color: var(--navy-ink); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { flex: 1 1 380px; min-width: 0; }
.hero-photo img { width: 100%; aspect-ratio: 870 / 470; object-fit: cover; border-radius: 10px; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(64px, 8vw, 88px); }
.sec-white { background: var(--white); border-block: 1px solid var(--rule-soft); }
.sec-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 60ch; }
.sec-head p, .split-head p { color: var(--muted); font-size: 1.06rem; }
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split-head { flex: 1 1 300px; min-width: 0; display: grid; gap: 14px; align-content: start; }
.split-head .issues { font-size: .95rem; padding-top: 14px; border-top: 1px solid var(--rule); }

/* Services: ruled two-column list */
.services { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.service { padding-block: 20px; border-top: 1px solid var(--rule); display: grid; gap: 6px; }
.service p { font-size: .95rem; color: var(--muted); }

/* Promises: the four logo colours as bars */
.band { background: var(--white); border-block: 1px solid var(--rule-soft); }
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-block: 72px; }
.promise { display: grid; gap: 8px; align-content: start; }
.promise h3 { font: 700 1.375rem/1.25 var(--f-display); }
.promise p { font-size: .95rem; color: var(--muted); }
.bar { width: 40px; height: 4px; }
.bar-red { background: var(--red); }
.bar-green { background: var(--green); }
.bar-blue { background: var(--blue); }
.bar-yellow { background: var(--yellow); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about-text { flex: 1 1 420px; min-width: 0; display: grid; gap: 16px; max-width: 62ch; }
.about-text p { color: var(--muted); font-size: 1.06rem; }
.more { font-weight: 700; justify-self: start; }
.more::after { content: " →"; }
.about-photos { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.about-photos img { width: 100%; aspect-ratio: 183 / 150; object-fit: cover; border-radius: var(--r); }

/* Before / after: drag-to-compare slider */
.sec-head-center { margin-inline: auto; text-align: center; justify-items: center; }
.ba-stage { max-width: 560px; margin: 0 auto; display: grid; gap: 18px; justify-items: center; }
.compare {
  position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--rule); background: #f7f7f7;
  touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none;
}
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.cmp-once { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-tag { position: absolute; top: 14px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; pointer-events: none; }
.cmp-tag-once { left: 14px; background: var(--red); color: var(--white); }
.cmp-tag-sonra { right: 14px; background: var(--green); color: var(--white); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 0 1px rgba(20, 47, 123, .25); pointer-events: none; }
.cmp-knob {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--white); border: 3px solid var(--white);
  box-shadow: 0 6px 18px rgba(20, 47, 123, .35);
}
.cmp-range { position: absolute; inset: auto 0 0 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.compare:focus-within .cmp-knob { outline: 3px solid var(--yellow); outline-offset: 2px; }
.cmp-caption { font-size: 1.05rem; color: var(--muted); text-align: center; }
.cmp-caption b { color: var(--navy); }
.cmp-tabs { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.cmp-tab {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 14px 6px 6px; border-radius: 10px; cursor: pointer;
  border: 1.5px solid var(--rule); background: var(--white); color: var(--ink); font: 600 .9rem/1.2 var(--f-text); text-align: left;
}
.cmp-tab img { width: 56px; height: 42px; object-fit: contain; border-radius: 6px; background: #f7f7f7; }
.cmp-tab small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.cmp-tab:hover { border-color: var(--blue); }
.cmp-tab[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }

/* Projects */
.projects { flex: 2 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.projects li { display: flex; gap: 16px; padding-block: 20px; border-top: 1px solid var(--rule); }
.projects img { flex: none; width: 44px; height: 44px; object-fit: contain; border-radius: var(--r); border: 1px solid var(--rule-soft); background: var(--white); padding: 3px; }
.projects div { display: grid; gap: 4px; min-width: 0; }
.projects p { font-size: .95rem; color: var(--muted); }
.projects a { font-weight: 600; font-size: .92rem; justify-self: start; }

/* Review */
.quote-band { background: var(--navy); color: var(--white); }
.review { margin: 0; max-width: 48rem; padding-block: clamp(56px, 7vw, 80px); display: grid; gap: 18px; }
.review blockquote { margin: 0; font: 500 clamp(1.35rem, 2.6vw, 1.85rem)/1.45 var(--f-display); color: var(--white); text-wrap: pretty; }
.review figcaption { color: var(--yellow); font-weight: 600; font-size: .95rem; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: start; }
.contact-info { flex: 1 1 420px; min-width: 0; display: grid; gap: 16px; }
.contact-line { font-size: 1.125rem; }
.contact-line a { color: var(--ink); }
.contact-line a:hover { color: var(--blue); }
.hours { margin-top: 12px; display: grid; gap: 10px; padding: 24px 28px; border-radius: 10px; background: var(--white); border: 1px solid var(--rule-soft); max-width: 26rem; }
.hours h3 { font-size: 1.06rem; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.msg { flex: 1 1 360px; min-width: 0; display: grid; gap: 8px; padding: clamp(22px, 3vw, 32px); background: var(--white); border: 1px solid var(--rule-soft); border-radius: 10px; }
.msg h3 { font: 900 1.6rem/1.1 var(--f-display); }
.msg > p { color: var(--muted); font-size: .92rem; margin-bottom: 6px; }
.msg label { font-size: .85rem; font-weight: 600; color: var(--navy); margin-top: 6px; }
.msg input, .msg textarea {
  width: 100%; padding: 12px 14px; font: 400 1rem var(--f-text); color: var(--ink);
  background: var(--ground); border: 1px solid var(--rule); border-radius: var(--r); resize: vertical;
}
.msg input:focus, .msg textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 115, 175, .18); background: var(--white); }
.msg .btn { margin-top: 12px; justify-self: start; }
.map { margin-top: 48px; border-radius: 10px; overflow: hidden; border: 1px solid var(--rule-soft); background: #e6e9f2; }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- About page ---------- */
.page-head { background: var(--navy); color: var(--white); padding-block: clamp(44px, 6vw, 72px); }
.page-head .wrap { display: grid; gap: 14px; }
.page-head h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.2rem); max-width: 22ch; }
.page-head p { color: var(--navy-ink); max-width: 60ch; font-size: 1.1rem; }
.crumbs { font-size: .9rem; color: var(--navy-ink); }
.crumbs a { color: var(--white); }
.doc { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 72px); align-items: start; }
.prose { flex: 1 1 520px; min-width: 0; display: grid; gap: 18px; max-width: 68ch; }
.prose h2 { font-size: 1.75rem; margin-top: 18px; }
.prose p { font-size: 1.06rem; line-height: 1.75; color: #333d5c; }
.prose .prose-lead { font-size: 1.25rem; line-height: 1.55; color: var(--navy); }
.note { padding: 14px 16px; background: var(--white); border-left: 4px solid var(--yellow); border-radius: 0 var(--r) var(--r) 0; }
.doc-side { flex: 0 1 300px; min-width: 0; position: sticky; top: 96px; display: grid; gap: 12px; }
.facts { margin: 0 0 12px; padding: 8px 20px; background: var(--white); border: 1px solid var(--rule-soft); border-radius: 10px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--rule-soft); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--navy); font-weight: 700; }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy); color: var(--navy-ink); padding-top: 64px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.foot-grid h2 { color: var(--white); font-size: 1.35rem; margin-bottom: 16px; }
.foot-about { display: grid; gap: 14px; align-content: start; }
.foot-logo { justify-self: start; display: block; padding: 8px 12px; background: var(--white); border-radius: var(--r); margin-bottom: 4px; }
.foot-logo img { width: 132px; }
.site-foot a { color: var(--white); }
.site-foot a:hover { color: var(--yellow); }
.foot-bank dl { margin: 0 0 14px; }
.foot-bank dl div { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; border-bottom: 1px solid rgba(205, 214, 238, .2); }
.foot-bank dt { color: #9fb0d8; }
.foot-bank dd { margin: 0; color: var(--white); font-weight: 600; text-align: right; }
.foot-bank .iban-row { display: grid; gap: 4px; }
.foot-bank .iban-row dd { text-align: left; letter-spacing: .02em; }
.copy {
  min-height: 42px; padding: 0 16px; border: 0; border-radius: var(--r); background: var(--yellow);
  color: var(--navy); font: 700 .92rem var(--f-text); cursor: pointer;
}
.copy:hover { background: var(--white); }
.copy.done { background: var(--green); color: var(--white); }
.foot-contact { display: grid; gap: 14px; align-content: start; }
.foot-contact address { font-style: normal; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-block: 20px; border-top: 1px solid rgba(205, 214, 238, .2); font-size: .88rem; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .burger { display: block; }
  .head-call { margin-left: auto; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--white); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule-soft); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--rule-soft); color: var(--blue); }
  .site-head.open .nav { display: flex; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-about { grid-column: 1 / -1; }
  .doc-side { position: static; flex-basis: 100%; }
}

@media (max-width: 600px) {
  .head-in { gap: 12px; min-height: 64px; }
  .brand img { width: 110px; }
  .head-call small { display: none; }
  .head-call span { font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .map iframe { height: 280px; }
}
