:root {
  --ink: #151515;
  --text: #2a2927;
  --muted: #6f6a64;
  --paper: #f7f4ef;
  --panel: #ffffff;
  --line: #ddd5cb;
  --orange: #f06c00;
  --deep: #27302b;
  --stone: #b8afa5;
  --shadow: 0 24px 60px rgba(21, 21, 21, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-shell {
  position: sticky;
  top: 0;
  z-index: 20;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding: 8px clamp(18px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.86);
  background: #172335;
  font-size: 13px;
}

.top-bar div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar a {
  color: #fff;
}

.language-links {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}
.language-links button {
  position: relative;
  min-height: 28px;
  padding: 0 7px;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.language-links button + button::before {
  content: "·";
  position: absolute;
  left: -2px;
  color: rgba(255, 255, 255, 0.48);
}
.language-links button.is-active,
.language-links button:hover {
  color: #fff;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(280px, auto) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(247, 244, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { width: 64px; height: auto; }
.brand strong,
.brand small { display: block; }
.brand strong {
  color: #172335;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
}
.brand small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav a {
  position: relative;
  padding: 12px 0;
  color: #273243;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}
.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.header-cta,
.button.primary { background: var(--ink); color: #fff; }
.button.secondary { background: transparent; color: var(--ink); }
.button.dark.secondary { color: #fff; border-color: rgba(255,255,255,.45); }
.button.dark.primary { background: #fff; color: var(--ink); border-color: #fff; }

.hero {
  position: relative;
  min-height: calc(100vh - 210px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247,244,239,.12) 0%, rgba(247,244,239,.32) 38%, rgba(247,244,239,.78) 66%, rgba(247,244,239,.94) 100%),
    url("male-statue-hero.jpg") 43% center / cover no-repeat;
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.01);
}
.hero-bg::after {
  content: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: 11%;
  right: clamp(18px, 5vw, 76px);
  bottom: 10%;
  width: min(760px, 58vw);
  background: rgba(247, 244, 239, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: 0 22px 70px rgba(23, 35, 53, 0.13);
  backdrop-filter: blur(4px);
}
.hero::before {
  content: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, 100%);
  margin-left: auto;
  padding: clamp(74px, 8vw, 112px) clamp(26px, 7vw, 96px) clamp(64px, 7vw, 96px);
}
.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}
h1 {
  max-width: 720px;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}
html[lang="hu"] h1 {
  max-width: 690px;
  font-size: clamp(38px, 4.9vw, 68px);
  line-height: 1.05;
}
html[lang="de"] h1 {
  max-width: 700px;
  font-size: clamp(38px, 5.1vw, 68px);
  line-height: 1.04;
}
h2 {
  max-width: 930px;
  font-size: clamp(30px, 3.7vw, 50px);
  line-height: 1.12;
}
h3 { font-size: 26px; line-height: 1.14; }
.hero p:not(.eyebrow),
.rich-copy p,
.contact p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.hero p:not(.eyebrow) {
  color: #3e403d;
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #111820;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.metric-band div {
  min-height: 118px;
  padding: 24px clamp(18px, 3vw, 42px);
  border-right: 1px solid rgba(255,255,255,.18);
}
.metric-band strong,
.metric-band span { display: block; }
.metric-band strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.6vw, 38px);
  font-weight: 500;
}
.metric-band span {
  margin-top: 8px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  line-height: 1.45;
}

.section,
.service-menu,
.contact {
  padding: clamp(76px, 9vw, 116px) clamp(20px, 7vw, 96px);
}
.split,
.service-menu,
.contact {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 94px);
}
.split h2 {
  max-width: 520px;
  font-size: clamp(33px, 3.6vw, 50px);
  line-height: 1.08;
}
.section > h2 {
  max-width: 840px;
  font-size: clamp(33px, 3.8vw, 52px);
  line-height: 1.08;
}
.section.split {
  border-bottom: 1px solid var(--line);
}
.rich-copy {
  max-width: 720px;
}
.rich-copy p {
  margin-bottom: 0;
}
.rich-copy p + p {
  margin-top: 22px;
}
.rich-copy p:first-child { margin-top: 0; }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}
.practice-grid article {
  position: relative;
  min-height: 286px;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(21, 21, 21, 0.055);
}
.practice-grid article::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 3px;
  background: var(--orange);
}
.practice-grid article:nth-child(3n) { background: #fbfaf7; }
.practice-grid span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}
.practice-grid h3 {
  margin-top: 26px;
  min-height: 60px;
  color: #172335;
}
.practice-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.capability-section {
  padding-top: clamp(42px, 6vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
}
.section-kicker {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
}
.section-kicker h2 {
  max-width: 850px;
  font-size: clamp(31px, 3.4vw, 48px);
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}
.capability-grid button {
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  min-height: 240px;
  padding: 26px;
  background: #f7f4ef;
  border: 1px solid var(--line);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.capability-grid button:hover,
.capability-grid button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(240, 108, 0, 0.45);
  box-shadow: 0 18px 44px rgba(21, 21, 21, 0.09);
}
.capability-grid span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}
.capability-grid h3 {
  margin-top: 24px;
  color: #172335;
  font-size: 25px;
}
.capability-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.capability-grid em {
  display: inline-flex;
  margin-top: 20px;
  color: #172335;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.service-menu {
  background:
    linear-gradient(90deg, rgba(17,24,32,.96), rgba(39,48,43,.93)),
    var(--deep);
  color: #fff;
}
.service-menu h2,
.service-menu .section-label { color: #fff; }
.service-head p:not(.section-label) {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.65;
}
.service-list {
  display: grid;
  gap: 10px;
}
details {
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.18);
  transition: background 160ms ease, border-color 160ms ease;
}
details[open] {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
}
summary {
  cursor: pointer;
  padding: 19px 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.2;
}
details p {
  margin: 0;
  padding: 0 22px 23px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

.team {
  background: #fff;
}
.values {
  background: #f0ece5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.values ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}
.values li {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
  color: #172335;
}
.insights {
  background: #fff;
}
.insights blockquote {
  margin: 28px 0 0;
  padding: 26px 28px;
  color: #172335;
  background: #f7f4ef;
  border-left: 4px solid var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.4vw, 32px);
  line-height: 1.25;
}

.faq-section {
  background: #f7f4ef;
  border-top: 1px solid var(--line);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}
.faq-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}
.faq-grid h3 {
  color: #172335;
  font-size: 25px;
}
.faq-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.contact {
  background:
    linear-gradient(135deg, rgba(17,24,32,.98), rgba(21,21,21,.96));
  color: #fff;
}
.contact h2,
.contact .section-label { color: #fff; }
.contact p { color: rgba(255,255,255,.72); }
.contact-card {
  display: grid;
  gap: 0;
  padding: 36px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-style: normal;
}
.contact-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 12px;
}
.contact-card span,
.contact-card a {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  line-height: 1.45;
}
.contact-card a { color: var(--orange); font-weight: 800; }

.cookie {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  width: min(760px, calc(100vw - 36px));
  padding: 22px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.cookie[hidden] { display: none; }
.cookie strong { display: block; margin-bottom: 6px; }
.cookie p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.5; }
.cookie-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 24, 32, 0.66);
}
.modal-backdrop[hidden] { display: none; }
.capability-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: clamp(34px, 5vw, 56px);
  background: #fff;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.capability-modal h2 {
  max-width: 620px;
  font-size: clamp(32px, 4vw, 52px);
}
.capability-modal p:not(.section-label) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.capability-modal ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.capability-modal li {
  padding: 15px 16px;
  background: #f7f4ef;
  border-left: 3px solid var(--orange);
  color: #303330;
  line-height: 1.55;
}

@media (max-width: 1060px) {
  .top-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .top-bar div {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .site-header {
    grid-template-columns: minmax(220px, 1fr) auto;
  }
  .menu-toggle { display: block; justify-self: end; }
  .nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 12px;
  }
  .nav.is-open { display: flex; }
  .hero,
  .split,
  .service-menu,
  .contact { grid-template-columns: 1fr; }
  .hero {
    min-height: 650px;
  }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(247,244,239,.88) 0%, rgba(247,244,239,.72) 48%, rgba(247,244,239,.42) 100%),
      url("male-statue-hero.jpg") 36% center / cover no-repeat;
  }
  .hero::after {
    inset: 8% 18px;
    width: auto;
  }
  .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-kicker,
  .capability-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .values ul,
  .metric-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .top-bar {
    padding: 9px 16px;
    font-size: 12px;
  }
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 16px;
  }
  .brand img { width: 52px; }
  .brand strong { font-size: 20px; }
  .brand small {
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: 1.4px;
  }
  .header-cta { display: none; }
  .nav {
    gap: 10px 18px;
  }
  .nav a {
    font-size: 16px;
  }
  .hero-copy { padding: 58px 20px 60px; }
  .hero {
    min-height: 620px;
  }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(247,244,239,.93) 0%, rgba(247,244,239,.82) 48%, rgba(247,244,239,.52) 100%),
      url("male-statue-hero.jpg") 28% center / cover no-repeat;
  }
  .hero::after {
    inset: 9% 14px;
  }
  h1 { font-size: 39px; }
  html[lang="hu"] h1 { font-size: 35px; }
  html[lang="de"] h1 { font-size: 35px; }
  h2 { font-size: 32px; }
  .hero-actions,
  .hero-actions .button { width: 100%; }
  .metric-band,
  .practice-grid,
  .capability-grid,
  .faq-grid,
  .values ul { grid-template-columns: 1fr; }
  .practice-grid article { min-height: auto; }
  .practice-grid h3 { min-height: auto; }
  .section,
  .service-menu,
  .contact { padding: 58px 20px; }
  .cookie {
    grid-template-columns: 1fr;
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
  .cookie-actions,
  .cookie-actions .button { width: 100%; }
}
