/* ============================================================
   Massagué Consulting — Site styles
   Builds on /assets/colors_and_type.css
   Mobile-first; breakpoints at 720px (tablet) and 1024px (desktop)
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--fg-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

::selection { background: var(--navy); color: var(--ice); }

/* ================ LAYOUT ================ */
.container        { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-tight  { max-width: var(--container-tight); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide   { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter); }
.section          { padding: 64px 0; }
.section-hero     { padding: 96px 0 80px; }
.section-tight    { padding: 48px 0; }
@media (min-width: 720px) {
  .section { padding: 88px 0; }
  .section-hero { padding: 120px 0 104px; }
  .section-tight { padding: 64px 0; }
}
@media (min-width: 1024px) {
  .section { padding: 112px 0; }
  .section-hero { padding: 144px 0 128px; }
}

.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; }
.spacer-1 { height: 8px; } .spacer-2 { height: 16px; } .spacer-3 { height: 24px; }
.spacer-4 { height: 32px; } .spacer-5 { height: 48px; } .spacer-6 { height: 64px; }

/* ================ TYPE ROLES ================ */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gilt);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.eyebrow.plain { color: var(--fg-3); }
.eyebrow.on-dark { color: var(--gilt-soft); }
.eyebrow.no-rule::before { display: none; }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-1);
  margin: 0;
}
.h-editorial {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.875rem, 4.2vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--fg-1);
  margin: 0;
  text-wrap: balance;
}
.h-editorial em { font-style: italic; color: var(--gilt); font-weight: 400; }
.h-sub {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lead {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.4vw, 1.3125rem);
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
.lead.italic { font-style: italic; }
.body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0;
}
@media (min-width: 720px) { .body { font-size: 16px; } }
.meta {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}
.on-dark { color: var(--on-dark-1); }
.on-dark.lead, .on-dark.body { color: var(--on-dark-2); }
.on-dark.meta { color: var(--on-dark-3); }
.h-editorial.on-dark { color: var(--ice); }
.h-editorial.on-dark em { color: var(--gilt-soft); }

/* ================ BUTTONS ================ */
.btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: none;
  border-radius: var(--r-md);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: var(--ice); }
.btn-primary:hover { background: var(--navy-deep); box-shadow: var(--shadow-2); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--ice); }
.btn-on-dark { background: var(--ice); color: var(--navy); }
.btn-on-dark:hover { background: #fff; }
.btn-on-dark-ghost {
  background: transparent;
  color: var(--ice);
  box-shadow: inset 0 0 0 1px rgba(238, 244, 249, 0.32);
}
.btn-on-dark-ghost:hover { box-shadow: inset 0 0 0 1px var(--ice); }

.gilt-link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gilt);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color var(--dur-base) var(--ease-out), gap var(--dur-base) var(--ease-out);
  align-self: flex-start;
  cursor: pointer;
}
.gilt-link:hover { color: var(--gilt); gap: 14px; }
.gilt-link.on-dark { color: var(--ice); }
.gilt-link.on-dark:hover { color: var(--gilt-soft); border-color: var(--gilt-soft); }
.gilt-link svg { width: 12px; height: 12px; }

/* ================ TOP NAV ================ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--hairline-dark);
}
.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
@media (min-width: 720px) { .topnav-inner { padding: 16px 0; } }
@media (min-width: 1024px) {
  .topnav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .topnav-inner > :nth-child(1) { justify-self: start; }
  .topnav-inner > :nth-child(3) { justify-self: end; }
}

.brand-wm {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  transition: opacity var(--dur-base) var(--ease-out);
}
.brand-wm:hover { opacity: 0.82; }
.brand-logo {
  display: block;
  height: 40px;
  width: auto;
}
@media (min-width: 720px) { .brand-logo { height: 44px; } }
@media (max-width: 380px) { .brand-logo { height: 36px; } }

.brand-logo.in-footer {
  height: 72px;
}
.brand-logo.in-drawer {
  height: 44px;
}

.nav-links {
  display: none;
  gap: 36px;
  align-items: center;
}
@media (min-width: 1024px) { .nav-links { display: flex; justify-self: center; } }

.nav-link {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--on-dark-1);
  position: relative;
  padding: 6px 0;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--dur-base) var(--ease-out);
}
.nav-link:hover { color: var(--gilt-soft); }
.nav-link.active { color: var(--ice); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gilt-soft);
}

.nav-cta-desktop { display: none; }
@media (min-width: 1024px) { .nav-cta-desktop { display: inline-flex; } }

/* Hamburger */
.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.nav-burger:hover { border-color: var(--ice); }
.nav-burger span {
  width: 18px;
  height: 1.5px;
  background: var(--ice);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-burger { display: none; } }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 34, 83, 0.36);
  backdrop-filter: blur(4px);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 86vw);
  background: var(--ivory);
  z-index: 70;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-4);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--hairline);
}
.drawer-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px var(--gutter);
  gap: 4px;
}
.drawer-link {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--navy);
  padding: 14px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid var(--hairline);
  transition: color var(--dur-base) var(--ease-out), padding-left var(--dur-base) var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-link:hover, .drawer-link.active { color: var(--gilt); padding-left: 6px; }
.drawer-link .num {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  font-weight: 500;
}
.drawer-foot {
  padding: 24px var(--gutter) 32px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.drawer-foot .meta { color: var(--fg-3); }
.drawer-foot a.contact-line {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--navy);
}

/* ================ HERO ================ */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ice);
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow { color: var(--gilt-soft); margin-bottom: 28px; }
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.125rem, 5.6vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ice);
  margin: 0 0 28px;
  max-width: 18ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gilt-soft);
}
.hero-lead {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  line-height: 1.55;
  color: rgba(238, 244, 249, 0.78);
  max-width: 48ch;
  margin: 0 0 40px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-paren {
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 640px;
  opacity: 0.05;
  color: var(--ice);
  pointer-events: none;
}
@media (min-width: 720px) { .hero-paren { right: -80px; opacity: 0.06; } }
@media (min-width: 1024px) { .hero-paren { right: -40px; width: 560px; height: 740px; } }

/* Hero sub-row: location + appointment */
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(238, 244, 249, 0.18);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}
.hero-foot strong { color: var(--ice); font-weight: 500; letter-spacing: 0.22em; }

/* ================ SECT HEAD ================ */
.sect-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 48px;
}
.sect-head .left { display: flex; flex-direction: column; gap: 18px; max-width: 22ch; }
.sect-head .right { max-width: 46ch; }
@media (min-width: 800px) {
  .sect-head { grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; }
}

/* ================ PILLARS (Leistungen overview, 3-col) ================ */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.pillar {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-bottom: 1px solid var(--hairline);
}
.pillar:last-child { border-bottom: none; }
.pillar-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gilt);
}
.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.18;
  color: var(--fg-1);
  margin: 0;
  letter-spacing: -0.01em;
}
.pillar-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar-list li {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fg-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.pillar-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gilt);
}
@media (min-width: 860px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar {
    padding: 40px 32px 40px 0;
    border-right: 1px solid var(--hairline);
    border-bottom: none;
  }
  .pillar:last-child { border-right: none; padding-right: 0; }
  .pillar:not(:first-child) { padding-left: 32px; }
}

/* ================ ENGAGEMENT-STYLE LIST ROWS ================ */
.row-list { border-top: 1px solid var(--hairline); }
.list-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.list-row .row-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}
.list-row .row-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg-1);
  margin: 0;
  letter-spacing: -0.01em;
}
.list-row .row-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 6px 0 0;
}
.list-row .row-tag {
  grid-column: 2;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 8px;
}
@media (min-width: 800px) {
  .list-row {
    grid-template-columns: 72px 1.4fr 1fr 180px;
    gap: 32px;
    padding: 28px 0;
  }
  .list-row .row-desc { grid-column: auto; margin: 0; }
  .list-row .row-tag { grid-column: auto; text-align: right; margin: 0; }
}

/* ================ APPROACH (4-step) ================ */
.approach {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  counter-reset: ap;
}
@media (min-width: 720px) { .approach { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (min-width: 1024px) { .approach { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.approach-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--gilt);
}
.approach-step .step-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gilt);
}
.approach-step h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--fg-1);
}
.approach-step p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 0;
}

/* ================ QUOTE BAND ================ */
.quote-band {
  background: var(--ice-warm);
  padding: 80px 0;
}
@media (min-width: 720px) { .quote-band { padding: 112px 0; } }
.quote-band blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.375rem, 3vw, 2.375rem);
  line-height: 1.3;
  color: var(--fg-1);
  margin: 0;
  max-width: 28ch;
  text-wrap: balance;
  position: relative;
}
.quote-band blockquote::before {
  content: "(";
  font-family: var(--font-serif);
  position: absolute;
  left: -0.5em;
  top: -0.2em;
  font-size: 1.4em;
  color: var(--gilt);
  font-style: normal;
}
.quote-band .attribution {
  margin-top: 28px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote-band .attribution::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gilt);
}

/* ================ STATS STRIP ================ */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); padding: 48px 0; } }
.stat .num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  color: var(--fg-1);
  letter-spacing: -0.02em;
  display: block;
}
.stat .num sup {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gilt);
  vertical-align: top;
  margin-left: 4px;
  top: 0.6em;
  position: relative;
}
.stat .lab {
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ================ CONTACT BAND / CTA ================ */
.contact-band {
  background: var(--navy);
  color: var(--ice);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 720px) { .contact-band { padding: 112px 0; } }
.contact-band .inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
  position: relative;
  z-index: 2;
}
@media (min-width: 860px) {
  .contact-band .inner { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}
.contact-band h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ice);
  margin: 0;
  max-width: 18ch;
}
.contact-band h2 em { font-style: italic; color: var(--gilt-soft); font-weight: 400; }
.contact-band .right { display: flex; flex-direction: column; gap: 24px; }
.contact-band .right .lead { color: rgba(238, 244, 249, 0.78); font-style: italic; max-width: 36ch; }

/* ================ FOOTER ================ */
.footer {
  background: var(--navy);
  color: var(--on-dark-2);
  padding: 64px 0 24px;
}
@media (min-width: 720px) { .footer { padding: 96px 0 32px; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline-dark);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand .lockup {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--ice);
  text-transform: uppercase;
}
.footer-brand .sub {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gilt-soft);
  text-transform: uppercase;
  margin-top: 6px;
}
.footer-brand p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: var(--on-dark-2);
  max-width: 38ch;
  margin: 24px 0 0;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gilt-soft);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col button {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--on-dark-1);
  transition: color var(--dur-base) var(--ease-out);
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.footer-col a:hover, .footer-col button:hover { color: var(--gilt-soft); }
.footer-fine {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}
@media (min-width: 720px) { .footer-fine { flex-direction: row; font-size: 11px; } }

/* ================ FORM ================ */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 32px;
  max-width: 720px;
}
@media (min-width: 720px) { .form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.field input,
.field textarea,
.field select {
  font-family: var(--font-serif);
  font-size: 18px;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid rgba(3, 34, 83, 0.2);
  background: transparent;
  color: var(--fg-1);
  border-radius: 0;
  outline: none;
  transition: border-color var(--dur-base) var(--ease-out);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-mute); font-style: italic; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--navy); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field .err {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--danger);
  margin-top: 4px;
}
.field.has-err input, .field.has-err textarea { border-bottom-color: var(--danger); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--fg-2);
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active {
  background: var(--navy);
  color: var(--ice);
  border-color: var(--navy);
}

.form-success {
  background: var(--ice-warm);
  padding: 48px 32px;
  border-left: 2px solid var(--gilt);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--fg-1);
}
.form-success p { font-family: var(--font-sans); font-size: 14px; line-height: 1.65; color: var(--fg-2); margin: 0; }

/* ================ ABOUT — split layout ================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 860px) {
  .about-split { grid-template-columns: 5fr 7fr; gap: 64px; }
}
.portrait {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, rgba(3, 34, 83, 0.05) 0%, rgba(3, 34, 83, 0.16) 100%),
    linear-gradient(135deg, #243a5e 0%, #2d3d5e 40%, #44567a 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 25%, rgba(238,244,249,0.10) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(184,151,90,0.08) 0%, transparent 55%);
}
.portrait .tag {
  position: absolute;
  bottom: 18px;
  left: 22px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(238, 244, 249, 0.6);
  z-index: 2;
}

.prose-block {
  max-width: 56ch;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg-2);
}
@media (min-width: 720px) { .prose-block { font-size: 1.1875rem; } }
.prose-block p { margin: 0 0 1.3em; }
.prose-block p:last-child { margin-bottom: 0; }
.prose-block p:first-of-type::first-letter {
  font-weight: 700;
  font-size: 1.4em;
  color: var(--navy);
}
.prose-block blockquote {
  font-style: italic;
  border-left: 1px solid var(--gilt);
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 22px;
  color: var(--fg-1);
}

/* ================ CREDENTIAL LIST (Über uns) ================ */
.cred-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.cred {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 720px) {
  .cred {
    grid-template-columns: 160px 1fr 1fr;
    gap: 32px;
    padding: 28px 0;
  }
}
.cred .year {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gilt);
}
.cred .role {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg-1);
  margin: 0;
}
.cred .org {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
}

/* ================ CONTACT INFO CARDS ================ */
.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
@media (min-width: 720px) { .contact-info { grid-template-columns: repeat(3, 1fr); } }
.contact-info .item {
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 720px) {
  .contact-info .item {
    padding: 32px 32px 32px 0;
    border-right: 1px solid var(--hairline);
    border-bottom: none;
  }
  .contact-info .item:not(:first-child) { padding-left: 32px; }
  .contact-info .item:last-child { border-right: none; padding-right: 0; }
}
.contact-info .item .k {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}
.contact-info .item .v {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--fg-1);
}
.contact-info .item .v a { border-bottom: 1px solid var(--gilt); padding-bottom: 2px; }
.contact-info .item .v a:hover { color: var(--gilt); }

/* ================ FAQ ================ */
.faq-list {
  border-top: 1px solid var(--hairline);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg-1);
  letter-spacing: -0.005em;
  transition: color var(--dur-base) var(--ease-out);
}
.faq-q:hover { color: var(--gilt); }
.faq-q .ic {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gilt);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding-bottom: 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 64ch;
}

/* ================ PAGE TITLE BLOCK ================ */
.page-head {
  padding: 96px 0 56px;
  background: var(--ivory);
  position: relative;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 720px) { .page-head { padding: 128px 0 80px; } }
.page-head .eyebrow { margin-bottom: 24px; }
.page-head .h-editorial { max-width: 18ch; }
.page-head .lead { margin-top: 24px; max-width: 56ch; }

/* ================ PRINCIPLES (Über uns) — 2-col ================ */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) { .principles { grid-template-columns: 1fr 1fr; gap: 32px 48px; } }
.principle {
  padding: 24px 0;
  border-top: 1px solid var(--gilt);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.principle h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg-1);
  margin: 0;
  letter-spacing: -0.005em;
}
.principle p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 0;
}

/* ================ LEISTUNGEN GRID (3-col) ================ */
.leistungen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.leistung-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
}
@media (min-width: 860px) {
  .leistungen-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .leistung-block {
    padding: 48px 32px 48px 0;
    border-right: 1px solid var(--hairline);
    border-bottom: none;
  }
  .leistung-block:not(:first-child) { padding-left: 32px; }
  .leistung-block:last-child { border-right: none; padding-right: 0; }
}

/* ================ LEGAL DOC (Impressum / Datenschutz) ================ */
.legal-doc {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 64ch;
}
.legal-doc h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--fg-1);
  margin: 2.4em 0 0.6em;
}
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc p { margin: 0 0 1em; }
.legal-doc a {
  color: var(--fg-1);
  border-bottom: 1px solid var(--gilt);
  padding-bottom: 1px;
}
.legal-doc a:hover { color: var(--gilt); }
.legal-doc .placeholder {
  color: var(--fg-mute);
  font-style: italic;
  background: var(--ice-warm);
  padding: 1px 6px;
  border-radius: var(--r-sm);
}

/* ================ LEISTUNGEN GRID (page-specific) ================ */
@media (min-width: 920px) {
  .leistung-grid { grid-template-columns: 5fr 7fr !important; gap: 64px !important; }
}

/* ================ KONTAKT GRID ================ */
@media (min-width: 920px) {
  .kontakt-grid { grid-template-columns: 5fr 7fr !important; gap: 64px !important; }
}

/* ================ EYEBROW PILL CHIP ================ */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 8px 14px;
  background: var(--slate-100);
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  white-space: nowrap;
}
@media (min-width: 720px) { .eyebrow-pill { font-size: 11px; padding: 9px 16px; } }
/* Hero pill can be long enough that it must wrap on narrow viewports */
.hero-light .eyebrow-pill { white-space: normal; }

/* ================ HERO LIGHT VARIANT ================ */
.hero-light {
  background: var(--ivory);
  padding: 56px 0 72px;
  position: relative;
}
@media (min-width: 720px) { .hero-light { padding: 80px 0 96px; } }
@media (min-width: 1024px) { .hero-light { padding: 96px 0 112px; } }

.hero-light h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--fg-1);
  margin: 24px 0 28px;
  max-width: 18ch;
  text-wrap: balance;
}
.hero-light h1 em {
  font-style: normal;
}
.hero-light .hero-sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 56ch;
  margin: 0 0 48px;
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 48px;
}
@media (min-width: 720px) { .hero-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.hero-card {
  background: var(--slate-50);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.hero-card:hover { border-color: var(--gilt-soft); background: var(--ice-warm); }
.hero-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg-1);
  margin: 0;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.hero-card p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}
@media (min-width: 720px) {
  .hero-card { padding: 32px 28px; }
  .hero-card h3 { font-size: 1.25rem; }
}

.hero-light-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.hero-light-cta .btn-secondary { box-shadow: inset 0 0 0 1px var(--hairline); color: var(--fg-2); }
.hero-light-cta .btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--navy); color: var(--ice); }

/* ================ SERVICES SECTION (Home, centered) ================ */
.services-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 56px;
}
.services-head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.625rem);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--fg-1);
  margin: 0;
  text-wrap: balance;
}
.services-head p {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}
@media (min-width: 720px) { .services-head { margin-bottom: 64px; } }

.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) { .service-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.service-card {
  background: var(--slate-50);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.service-card:hover {
  border-color: var(--gilt-soft);
  background: #fff;
  transform: translateY(-2px);
}
.service-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.service-card .ic svg { width: 20px; height: 20px; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fg-1);
  margin: 0;
  letter-spacing: -0.005em;
}
.service-card p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}
@media (min-width: 720px) {
  .service-card { padding: 36px 28px; }
}

/* ================ CARD-BAND (rounded section card on ivory bg) ================ */
.card-band-section {
  background: var(--ivory);
  padding: 48px 0;
}
@media (min-width: 720px) { .card-band-section { padding: 64px 0; } }
@media (min-width: 1024px) { .card-band-section { padding: 80px 0; } }

.card-band {
  background: var(--slate-50);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 720px) {
  .card-band { padding: 48px 40px; gap: 40px; }
}
@media (min-width: 1024px) {
  .card-band { padding: 64px 56px; grid-template-columns: 1fr 1fr; gap: 64px; }
}

.card-band .text-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 56ch;
}
.card-band h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.875rem, 4.2vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--fg-1);
  margin: 0;
  text-wrap: balance;
}
.card-band h2 em { font-style: italic; color: var(--gilt); font-weight: 400; }
.card-band .role {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg-3);
  margin: -8px 0 0;
}
.card-band p.body-text {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-2);
  margin: 0;
  max-width: 52ch;
}
@media (min-width: 720px) { .card-band p.body-text { font-size: 16px; } }

/* Portrait image slot */
.portrait-slot {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #243a5e 0%, #2d3d5e 40%, #44567a 100%);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.portrait-slot image-slot {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============ CONTACT INTRO + FORM CARD ============ */
.kontakt-card { align-items: stretch; }
.kontakt-card .text-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  height: 100%;
}
.kontakt-card .lines {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kontakt-card .line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg-1);
}
.kontakt-card .line:hover { color: var(--gilt); }
.kontakt-card .line .ic {
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.kontakt-card .line .ic svg { width: 16px; height: 16px; }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 720px) { .contact-form-card { padding: 28px; gap: 16px; } }

.contact-form-card .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) { .contact-form-card .row-2 { grid-template-columns: 1fr; gap: 14px; } }

.contact-form-card .inp {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 14px;
  background: var(--slate-50);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  color: var(--fg-1);
  outline: none;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.contact-form-card .inp::placeholder { color: var(--fg-mute); }
.contact-form-card .inp:focus {
  border-color: var(--navy);
  background: #fff;
}
.contact-form-card .inp.err { border-color: var(--danger); }

.contact-form-card .submit {
  width: 100%;
  background: var(--navy);
  color: var(--ice);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out);
  margin-top: 4px;
}
.contact-form-card .submit:hover { background: var(--navy-deep); }

.contact-form-card .sent-msg {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--success);
  text-align: center;
  padding: 8px 0;
}

/* ================ CONTACT SPLIT (Home Kontakt section) ================ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 860px) {
  .contact-split { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-line-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
  color: inherit;
  cursor: pointer;
  transition: padding-left var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.contact-line-row:last-child { border-bottom: 1px solid var(--hairline); }
.contact-line-row:hover { color: var(--gilt); padding-left: 6px; }
.contact-line-row[style*="default"]:hover { color: inherit; padding-left: 0; }
.contact-line-row .ic {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.contact-line-row .ic svg { width: 18px; height: 18px; }
.contact-line-row .k {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.contact-line-row .v {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--fg-1);
}

/* ================ FADE ENTRY ANIM ================ */
.view-enter {
  animation: viewIn 480ms var(--ease-out) both;
}
@keyframes viewIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Utility */
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.gilt-rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gilt);
  margin: 0 0 24px;
}
.gilt-rule.center { margin-left: auto; margin-right: auto; }
