/* ══════════════════════════════════════════════════════════════════
   style.css — Jörn Clotten
   Shared styles across all pages
   ══════════════════════════════════════════════════════════════════ */

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', sans-serif; background-color: #FAF8F5; }
a { text-decoration: none; }

/* ── MOBILE NAV TOGGLE ──────────────────────────────────────────── */
#mobile-nav { display: none; }
#mobile-nav.open { display: block; }

/* ── LOGO ───────────────────────────────────────────────────────── */
.site-logo { height: 38px; width: auto; display: block; mix-blend-mode: multiply; }

/* ── DESKTOP NAV LINKS ──────────────────────────────────────────── */
.nav-link {
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #444444;
  font-weight: 300;
  display: block;
}
.nav-link:hover { color: #1A1A1A; }
.nav-link.active { color: #1A1A1A; font-weight: 400; }

/* ── NAV KONTAKT BUTTON ─────────────────────────────────────────── */
#nav-kontakt-btn {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #2E6DA4;
  border: 1.5px solid #2E6DA4;
  background-color: transparent;
  transition: background-color 0.2s, color 0.2s;
}
#nav-kontakt-btn:hover { background-color: #2E6DA4; color: #ffffff; }
/* Active state — used on kontakt.html */
#nav-kontakt-btn.is-current { background-color: #2E6DA4; color: #ffffff; }

/* ── MOBILE NAV LINKS ───────────────────────────────────────────── */
.mob-nav-link {
  display: block;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: #444444;
  font-weight: 400;
}
.mob-nav-link.active { color: #1A1A1A; font-weight: 600; }

/* Mobile kontakt link (pill style) */
.mob-kontakt-btn {
  font-size: 15px;
  font-weight: 500;
  color: #2E6DA4;
  border: 1.5px solid #2E6DA4;
}

/* ── MOUNT ANIMATIONS (hero entry) ─────────────────────────────── */
.mount-fade    { opacity: 0; transition: opacity 0.6s ease 0.05s, transform 0.6s ease 0.05s; }
.mount-slide   { opacity: 0; transform: translateY(20px); transition: opacity 0.75s ease 0.12s, transform 0.75s ease 0.12s; }
.mount-sub     { opacity: 0; transform: translateY(12px); transition: opacity 0.65s ease 0.28s, transform 0.65s ease 0.28s; }
.mount-img     { opacity: 0; transition: opacity 1s ease 0.4s; }
.mount-portrait { opacity: 0; transition: opacity 0.9s ease 0.5s; }

.mount-fade.on,
.mount-slide.on,
.mount-sub.on    { opacity: 1; transform: translateY(0); }
.mount-img.on,
.mount-portrait.on { opacity: 1; }

/* ── WIPE REVEAL ────────────────────────────────────────────────── */
.wipe-wrap { overflow: hidden; }
.wipe-line {
  opacity: 0;
  transform: translateY(52px);
  transition-property: opacity, transform;
  transition-timing-function: ease, cubic-bezier(0.16, 1, 0.3, 1);
  transition-duration: 0.8s, 0.8s;
}
.wipe-line.visible { opacity: 1; transform: translateY(0); }

/* ── SCROLL REVEALS ─────────────────────────────────────────────── */
.reveal-fade     { opacity: 0; transition: opacity 0.5s ease; }
.reveal-fade.visible { opacity: 1; }

.reveal-fade-d   { opacity: 0; transition: opacity 0.6s ease 0.45s; }
.reveal-fade-d.visible { opacity: 1; }

.reveal-up       { opacity: 0; transform: translateY(10px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-up.visible { opacity: 1; transform: translateY(0); }

.reveal-divider  { opacity: 0; transition: opacity 0.6s ease 0.5s; }
.reveal-divider.visible { opacity: 1; }

.reveal-block    { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s; }
.reveal-block.visible { opacity: 1; transform: translateY(0); }

/* ── CTA ANIMATIONS ─────────────────────────────────────────────── */
.cta-overline { opacity: 0; transition: opacity 0.5s ease 0.1s; }
.cta-overline.visible { opacity: 1; }

.cta-heading {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease 0.2s, transform 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}
.cta-heading.visible { opacity: 1; transform: translateY(0); }

.cta-divider { opacity: 0; transition: opacity 0.5s ease 0.35s; }
.cta-divider.visible { opacity: 1; }

.cta-bottom { opacity: 0; transition: opacity 0.6s ease 0.45s; }
.cta-bottom.visible { opacity: 1; }

/* ── BUTTONS ────────────────────────────────────────────────────── */

/* CTA outline button (used in CTA sections across pages) */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border: 1.5px solid #2E6DA4;
  border-radius: 9999px;
  background-color: transparent;
  color: #2E6DA4;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-cta:hover { background-color: #2E6DA4; color: #ffffff; }

/* Primary filled button (index.html hero) */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background-color: #2E6DA4;
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: background-color 0.2s;
}
.btn-primary:hover { background-color: #4A8BC4; }

/* Secondary outline button (index.html hero) */
.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background-color: transparent;
  color: #2E6DA4;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  border: 1.5px solid #2E6DA4;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-outline:hover { background-color: #2E6DA4; color: #ffffff; }

/* Call button (homepage hero) */
.btn-call {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #1A2B5A;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.2s, transform 0.2s;
}
.btn-call:hover {
  background-color: #2E6DA4;
  transform: scale(1.08);
}
.btn-call-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #1A2B5A;
  opacity: 0;
  transform: scale(1);
}
.btn-call:hover .btn-call-ring {
  animation: call-ring 0.6s ease-out forwards;
}
@keyframes call-ring {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.6); }
}

/* ── ARROW LINK ─────────────────────────────────────────────────── */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2E6DA4;
}
.arrow-link .link-label {
  font-family: 'Inter', sans-serif;
  position: relative;
  padding-bottom: 1px;
}
.arrow-link .link-label::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  background-color: #2E6DA4;
  width: 0%;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.arrow-link:hover .link-label::after { width: 100%; }
.arrow-link .arrow-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.arrow-link:hover .arrow-icon { transform: translateX(5px); }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555555;
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-link:hover { color: #2E6DA4; }

.footer-nav-link {
  font-size: 15px;
  color: #888888;
  transition: color 0.2s;
}
.footer-nav-link:hover { color: #2E6DA4; }

/* ── LEGAL PAGES (impressum + datenschutz) ──────────────────────── */
.legal-block { margin-bottom: 40px; }
.legal-h2 {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1A1A1A;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.legal-subh {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1A1A1A;
  margin: 20px 0 6px;
}
.legal-p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #444444;
  font-family: 'Inter', sans-serif;
}
.legal-p + .legal-p { margin-top: 12px; }
.legal-a { color: #2E6DA4; }
.legal-a:hover { text-decoration: underline; }
strong.dark { color: #1A1A1A; }

/* ── INDEX: Service columns ─────────────────────────────────────── */
.service-col .mehr-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-col:hover .mehr-arrow { transform: translateX(5px); }
.service-divider-fill {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 0%;
  background-color: #2E6DA4;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-col:hover .service-divider-fill { height: 100%; }

/* ── INDEX: Key Statement animations ────────────────────────────── */
.ks-word {
  display: inline-block;
  margin-right: 0.28em;
  color: #1A1A1A;
  opacity: 0;
  transform: translateY(32px);
  cursor: default;
  transition-property: color, opacity, transform;
  transition-timing-function: ease, ease, cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.25s, 0.6s, 0.6s;
}
.ks-word.visible { opacity: 1; transform: translateY(0); }
.ks-word:hover { color: #2E6DA4; }

.ks-rule-fill {
  height: 100%;
  background-color: #2E6DA4;
  width: 0%;
  transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.ks-rule-fill.visible { width: 100%; }

.ks-bottom { opacity: 0; transition: opacity 0.8s ease 0.65s; }
.ks-bottom.visible { opacity: 1; }

/* ── INDEX: Slider ───────────────────────────────────────────────── */
#slider-track { display: flex; width: 100%; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
#slider-track.no-transition { transition: none; }

/* ── WEBDESIGN: Service selector ────────────────────────────────── */
.svc-item {
  border-top: 1px solid #D9D3CB;
  cursor: pointer;
  padding-left: 0;
  border-left: 2px solid transparent;
  transition: padding-left 0.35s ease, border-color 0.35s ease;
}
.svc-item.active { padding-left: 18px; border-left-color: #2E6DA4; }
.svc-item-mobile {
  border-top: 1px solid #D9D3CB;
  cursor: pointer;
  padding-left: 0;
  border-left: 2px solid transparent;
  transition: padding-left 0.3s ease, border-color 0.3s ease;
}
.svc-item-mobile.active { padding-left: 16px; border-left-color: #2E6DA4; }
.svc-num   { transition: color 0.3s ease; }
.svc-title { transition: opacity 0.35s ease; }
.svc-body  { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease; }
.svc-body.open { max-height: 800px; opacity: 1; }
.svc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 0.65s ease; display: block; }
.svc-img.active { opacity: 1; }

/* ── WEBDESIGN: Promise section ──────────────────────────────────── */
.promise-num   { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease 0.05s, transform 0.7s ease 0.05s; }
.promise-num.visible { opacity: 1; transform: translateY(0); }
.promise-label { opacity: 0; transition: opacity 0.5s ease 0.2s; }
.promise-label.visible { opacity: 1; }
.promise-h2    { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease 0.12s, transform 0.7s ease 0.12s; }
.promise-h2.visible { opacity: 1; transform: translateY(0); }
.promise-div   { opacity: 0; transition: opacity 0.5s ease 0.2s; }
.promise-div.visible { opacity: 1; }

/* ── WEBDESIGN: CMS section ──────────────────────────────────────── */
.cms-wipe { opacity: 0; transform: translateY(52px); transition-property: opacity, transform; transition-timing-function: ease, cubic-bezier(0.16,1,0.3,1); transition-duration: 0.78s, 0.78s; }
.cms-wipe.visible { opacity: 1; transform: translateY(0); }
.cms-fade { opacity: 0; transition: opacity 0.6s ease; }
.cms-fade.visible { opacity: 1; }
.cms-body { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease 0.45s, transform 0.6s ease 0.45s; }
.cms-body.visible { opacity: 1; transform: translateY(0); }
.cms-detail { opacity: 0; transition: opacity 0.6s ease 0.55s; }
.cms-detail.visible { opacity: 1; }
.cms-cards { opacity: 0; transition: opacity 0.9s ease 0.15s; }
.cms-cards.visible { opacity: 1; }

/* ── WEBDESIGN: Process accordion ────────────────────────────────── */
.proc-overline { opacity: 0; transition: opacity 0.5s ease 0s; }
.proc-overline.visible { opacity: 1; }
.proc-heading  { opacity: 0; transform: translateY(16px); transition: opacity 0.65s ease 0.08s, transform 0.65s ease 0.08s; }
.proc-heading.visible { opacity: 1; transform: translateY(0); }
.proc-flow { opacity: 0; transition: opacity 0.7s ease 0.22s; }
.proc-flow.visible { opacity: 1; }
.proc-step { opacity: 0; transform: translateY(24px); }
.proc-step.visible { opacity: 1; transform: translateY(0); }
.proc-body { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease; }
.proc-body.open { max-height: 320px; opacity: 1; }

/* ── SHARED UTILITIES ───────────────────────────────────────────── */
#menu-btn { background: none; border: none; cursor: pointer; }

.nav-active-bar {
  position: absolute;
  bottom: -1px; left: 12px; right: 12px;
  height: 2px;
  background-color: #2E6DA4;
  border-radius: 1px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Overline label — add margin separately per usage */
.overline {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2E6DA4;
  text-decoration: none !important;
}

/* ── FOOTER: shared heading, badge, copyright ───────────────────── */
.footer-heading {
  margin: 0 0 16px 0;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #2E6DA4;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background-color: #EBF2F9;
  border-radius: 999px;
  font-size: 13px;
  color: #2E6DA4;
  letter-spacing: 0.03em;
  font-family: 'Inter', sans-serif;
}

.footer-copyright { font-size: 14px; color: #888888; letter-spacing: 0.02em; }

/* ── INDEX: Hero ────────────────────────────────────────────────── */
.hero-section { position: relative; min-height: calc(100vh - 68px); overflow: hidden; }
@media (max-width: 767px) { .hero-section { min-height: auto; } }
.hero-bg-left  { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background-color: #F5F0EB; }
.hero-bg-right { position: absolute; left: 50%; top: 0; bottom: 0; right: 0; overflow: hidden; }
.hero-bg-mobile { position: absolute; inset: 0; background-color: #F5F0EB; }
.hero-img-fill { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-content  { position: relative; min-height: calc(100vh - 68px); display: flex; align-items: center; }
@media (max-width: 767px) { .hero-content { min-height: auto; align-items: flex-start; } }
.hero-inner    { width: 100%; max-width: 560px; padding-top: 64px; padding-bottom: 64px; }
@media (max-width: 767px) { .hero-inner { padding-top: 28px; padding-bottom: 28px; } }

.hero-headline {
  margin: 0 0 20px 0;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 7.5vw, 64px);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #1A1A1A;
}

.hero-sub {
  margin: 0 0 16px 0;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #555555;
  font-weight: 400;
}

.hero-body-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  font-weight: 400;
  margin: 0;
}
/* Desktop version has bottom spacing */
.hidden.hero-body-text { margin-bottom: 40px; }
/* Mobile version has bottom padding so text doesn't clip during transition */
#hero-body-mobile .hero-body-text { padding-bottom: 4px; }

#hero-body-mobile {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

#hero-expand-btn {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #2E6DA4;
  letter-spacing: 0.02em;
  align-items: center;
  gap: 4px;
}

#hero-chevron { transition: transform 0.3s ease; flex-shrink: 0; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 16px; }

/* ── INDEX: Slider (nav buttons) ────────────────────────────────── */
#slider-container { overflow: hidden; cursor: grab; width: 100%; }
.slider-slide { flex: 0 0 100%; min-width: 0; }

/* ── INDEX: Service columns ─────────────────────────────────────── */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2E6DA4;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.svc-col-num  { margin: 0 0 20px 0; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: rgba(26,26,26,0.28); letter-spacing: 0.06em; }
.svc-col-h3   { margin: 0 0 16px 0; font-family: 'Figtree', sans-serif; font-weight: 600; font-size: 22px; letter-spacing: 0.02em; color: #1A1A1A; }
.svc-col-desc { margin: 0 0 44px 0; flex: 1; font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.6; color: #666666; }

/* ── What I Photograph — Spec accordion ─────────────────────────────── */
.spec-item {
  border-top: 1px solid #D9D3CB;
  cursor: pointer;
  padding-left: 0px;
  border-left: 2px solid transparent;
  transition: padding-left 0.35s ease, border-color 0.35s ease;
}
.spec-item.active { padding-left: 18px; border-left-color: #2E6DA4; }
.spec-item-mobile {
  border-top: 1px solid #D9D3CB;
  cursor: pointer;
  padding-left: 0px;
  border-left: 2px solid transparent;
  transition: padding-left 0.3s ease, border-color 0.3s ease;
}
.spec-item-mobile.active { padding-left: 16px; border-left-color: #2E6DA4; }
.spec-num   { transition: color 0.3s ease; }
.spec-title { transition: opacity 0.35s ease; }
.spec-body  { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease; }
.spec-body.open { max-height: 800px; opacity: 1; }
.spec-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 0.65s ease; display: block; }
.spec-img.active { opacity: 1; }

/* ── Blog / Article list ──────────────────────────────────────────────── */
.article-row { display: block; text-decoration: none; border-top: 1px solid #D9D3CB; padding: clamp(28px,4vw,48px) 0; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.article-row.visible { opacity: 1; transform: translateY(0); }
.article-title { margin: 0 0 clamp(12px,2vw,20px) 0; font-family: 'Figtree', sans-serif; font-weight: 700; font-size: clamp(18px,2.4vw,26px); letter-spacing: -0.01em; line-height: 1.2; color: #1A1A1A; transition: color 0.25s ease; }
.article-row:hover .article-title { color: #2E6DA4; }
.article-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.article-row:hover .article-img { transform: scale(1.04); }
.bottom-rule { height: 1px; background-color: #D9D3CB; opacity: 0; transition: opacity 0.6s ease 0.3s; }
.bottom-rule.visible { opacity: 1; }

/* ── Contact form columns ─────────────────────────────────────────────── */
.form-col-left  { opacity: 0; transform: translateY(16px); transition: opacity 0.65s ease 0.08s, transform 0.65s ease 0.08s; }
.form-col-left.visible  { opacity: 1; transform: translateY(0); }
.form-col-right { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s; }
.form-col-right.visible { opacity: 1; transform: translateY(0); }

/* ── Service selector cards ──────────────────────────────────────────────── */
.service-cards { display: flex; flex-direction: column; gap: 8px; }
.service-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background-color: #F0EBE4;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  user-select: none;
}
.service-card:hover { border-color: #2E6DA4; }
.service-card.selected { background-color: #1A2B5A; border-color: #1A2B5A; }
.service-card-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid #C8C2BA;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.service-card.selected .service-card-check {
  border-color: #ffffff;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 5L4 7.5L8.5 2.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.service-card-text { display: flex; flex-direction: column; gap: 2px; }
.service-card-title { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: #1A1A1A; transition: color 0.2s ease; }
.service-card.selected .service-card-title { color: #ffffff; }
.service-card-desc { font-family: 'Inter', sans-serif; font-size: 12px; color: #888888; transition: color 0.2s ease; }
.service-card.selected .service-card-desc { color: rgba(255,255,255,0.65); }

/* ── Contact form fields ──────────────────────────────────────────────── */
.field-wrap { position: relative; padding-top: 8px; }
.field-label { position: absolute; left: 0; top: 28px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: #999999; pointer-events: none; user-select: none; transition: top 0.22s cubic-bezier(0.4,0,0.2,1), font-size 0.22s cubic-bezier(0.4,0,0.2,1), letter-spacing 0.22s cubic-bezier(0.4,0,0.2,1), color 0.22s cubic-bezier(0.4,0,0.2,1), text-transform 0.22s; }
.field-label.active { top: 0px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.field-label.focused { color: #2E6DA4; }
.field-label.unfocused-active { color: #999999; }
.field-input, .field-textarea { width: 100%; background: transparent; border: none; border-bottom: 1.5px solid #C8C2BA; outline: none; font-family: 'Inter', sans-serif; font-size: 16px; color: #1A1A1A; padding: 20px 0 10px 0; transition: border-color 0.25s ease; display: block; resize: none; }
.field-input:focus, .field-textarea:focus { border-bottom-color: #1A1A1A; }
.gdpr-box { flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; border: 1.5px solid #C8C2BA; background-color: transparent; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s ease, background-color 0.2s ease; cursor: pointer; }
.gdpr-box.checked { border-color: #2E6DA4; background-color: #2E6DA4; }
#submit-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 28px; border: 1.5px solid #C8C2BA; border-radius: 9999px; background-color: #C8C2BA; color: #ffffff; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0.01em; cursor: not-allowed; transition: background-color 0.25s ease, border-color 0.25s ease; }
#submit-btn.enabled { background-color: #2E6DA4; border-color: #2E6DA4; cursor: pointer; }
#submit-btn.enabled:hover { background-color: #1A1A1A; border-color: #1A1A1A; }
#form-view { display: block; }
#success-view { display: none; }

/* ── Featured Gallery ───────────────────────────────────────────────────── */
.fg-filter-btn {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1.5px solid #C8C2BA;
  border-radius: 9999px;
  background: transparent;
  color: #888888;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.fg-filter-btn:hover { border-color: #2E6DA4; color: #2E6DA4; }
.fg-filter-btn.active { background-color: #1A2B5A; border-color: #1A2B5A; color: #ffffff; }

.fg-sub-btn {
  border: none;
  border-radius: 0;
  padding: 4px 14px;
  color: #888888;
  position: relative;
}
.fg-sub-btn::before {
  content: '|';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #C8C2BA;
  font-weight: 300;
}
.fg-sub-btn:first-child::before { display: none; }
.fg-sub-btn:hover { border-color: transparent; color: #2E6DA4; }
.fg-sub-btn.active { background-color: transparent; border-color: transparent; color: #1A2B5A; font-weight: 700; }
.fg-item {
  position: relative;
  overflow: hidden;
  height: clamp(200px, 24vw, 320px);
  cursor: pointer;
  background-color: #1A1A1A;
}
.fg-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.4s ease; }
.fg-item:hover img { transform: scale(1.04); }
.fg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.3) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.fg-item:hover .fg-overlay { opacity: 1; }
.fg-overlay-text { font-size: 13px; line-height: 1.55; color: #ffffff; }
.fg-overlay-text p { margin: 0; }
.fg-overlay-text strong { color: #ffffff; }

/* ── Rich text editor output (shared across all blocks) ─────────────────── */
.rich-text p { margin: 0 0 1.1em; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text strong, .rich-text b { font-weight: 700; color: inherit; }
.rich-text em, .rich-text i { font-style: italic; }
.rich-text ul { margin: 0.6em 0 1.1em; padding: 0 0 0 40px; list-style: disc; }
.rich-text ul li { list-style: disc; }
.rich-text ol { margin: 0.6em 0 1.1em; padding: 0 0 0 40px; list-style: decimal; }
.rich-text ol li { list-style: decimal; }
.rich-text a { color: #2E6DA4; text-decoration: underline; text-underline-offset: 3px; }

/* ── Single Blog body typography ─────────────────────────────────────── */
.single-blog-body { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.75; color: #555555; }
.single-blog-body p { margin: 0 0 1.4em; }
.single-blog-body h2 { font-family: 'Figtree', sans-serif; font-weight: 700; font-size: clamp(18px, 2.2vw, 24px); color: #1A1A1A; margin: 2em 0 0.6em; letter-spacing: -0.01em; line-height: 1.2; }
.single-blog-body h3 { font-family: 'Figtree', sans-serif; font-weight: 700; font-size: clamp(16px, 1.8vw, 20px); color: #1A1A1A; margin: 1.6em 0 0.5em; }
.single-blog-body ul, .single-blog-body ol { margin: 0 0 1.4em; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.single-blog-body ul li { padding-left: 24px; position: relative; }
.single-blog-body ul li::before { content: '—'; position: absolute; left: 0; color: #2E6DA4; font-weight: 500; }
.single-blog-body ol { counter-reset: blog-ol; }
.single-blog-body ol li { padding-left: 24px; position: relative; counter-increment: blog-ol; }
.single-blog-body ol li::before { content: counter(blog-ol) '.'; position: absolute; left: 0; color: #2E6DA4; font-weight: 500; font-size: 13px; }
.single-blog-body a { color: #2E6DA4; text-decoration: underline; text-underline-offset: 3px; }
.single-blog-body strong { font-weight: 600; color: #1A1A1A; }
.single-blog-body blockquote { border-left: 3px solid #2E6DA4; margin: 1.6em 0; padding: 12px 0 12px 24px; color: #333333; font-style: italic; }

/* ── Contact Popup Modal ─────────────────────────────────────────────── */
#contact-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 10vh, 100px) 16px;
  overflow-y: auto;
}
#contact-popup.open { display: flex; }
#contact-popup-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #FAF8F5;
  border-radius: 8px;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - clamp(120px, 20vh, 200px));
  box-shadow: 0 24px 64px rgba(26,26,26,0.2);
  animation: popup-in 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
  overflow: hidden;
}
@keyframes popup-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
#contact-popup-close {
  flex-shrink: 0;
  align-self: flex-end;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 14px 14px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: opacity 0.2s;
}
#contact-popup-close:hover { opacity: 1; }
#popup-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 clamp(28px, 6vw, 48px) clamp(28px, 6vw, 48px);
  scrollbar-width: thin;
  scrollbar-color: rgba(26,26,26,0.15) transparent;
}
#popup-scroll-body::-webkit-scrollbar { width: 4px; }
#popup-scroll-body::-webkit-scrollbar-track { background: transparent; }
#popup-scroll-body::-webkit-scrollbar-thumb { background-color: rgba(26,26,26,0.15); border-radius: 4px; }
#popup-success-view { display: none; flex-direction: column; align-items: flex-start; }
#popup-form-view { display: block; }
#popup-submit-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 28px; border: 1.5px solid #C8C2BA; border-radius: 9999px; background-color: #C8C2BA; color: #ffffff; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0.01em; cursor: not-allowed; transition: background-color 0.25s ease, border-color 0.25s ease; }
#popup-submit-btn.enabled { background-color: #2E6DA4; border-color: #2E6DA4; cursor: pointer; }
#popup-submit-btn.enabled:hover { background-color: #1A1A1A; border-color: #1A1A1A; }
